2

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

cfr
  • 198,882

1 Answers1

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}

enter image description here

Symbol 1
  • 36,855