I need to plot a implicit curve. I use tikzpicture and pgf plots.
The curve is x^3+y^3-9xy=0.
Anyone can make an \addplot[]{} for the tikzpicture?
Thanks :D
Asked
Active
Viewed 776 times
2
cfr
- 198,882
Gustav Beier
- 35
-
You can do a parametric plot, because the curve is rational. – egreg Nov 07 '16 at 17:50
-
how can I do? I can fint a parametric form, but don't know how to plot... – Gustav Beier Nov 07 '16 at 17:56
-
find the parametric form and we'll draw it – percusse Nov 07 '16 at 18:19
-
Also http://tex.stackexchange.com/questions/18359/plotting-an-implicit-function-using could help.... Or http://tex.stackexchange.com/questions/74574/easiest-way-to-plot-a-function-with-pgf-tikz – Rmano Nov 07 '16 at 21:55
-
Is your problem solved? – Dr. Manuel Kuehner Aug 20 '17 at 07:28
-
1If yes, then please accept the provided answer. – Dr. Manuel Kuehner Aug 20 '17 at 07:28
1 Answers
6
Cubic curves are parametrizable. You equation, defining Folium of Descartes, has a parametrization as shown in the following code
\documentclass[border=9,tikz]{standalone}
\begin{document}
\tikz{
\draw[samples=200,domain=125:-35]plot(\x:{9*sin(\x)*cos(\x)/(sin(\x)^3+cos(\x)^3)})
(-9,0)--(9,0)(0,-9)--(0,9);
}
\end{document}
Symbol 1
- 36,855
