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

5

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

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.