答案1
这是一条曲线的草图,与您的曲线非常相似:它是标准椭圆三次曲线之一。我使用了pst-plot
:
\documentclass[11pt, a4paper, x11names]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage{pst-plot}
\usepackage{pst-node}
\usepackage{auto-pst-pdf}
\def\f{sqrt(2.2*x*(x^2-4))}
\begin{document}
\psset{plotpoints=200, plotstyle=curve, algebraic, arrowinset=0.12, }%
\begin{pspicture*}(-4.5,-7.5)(5,8)
\psaxes[linecolor=LightSteelBlue3, tickcolor=LightSteelBlue3, ticksize=-2pt 2pt, labels =none, arrows=->, ](0,0)(-4.5,-7.5)(5,8)[$x$, -120][$y$, -135]
%
\psset{linewidth=1.5pt, linecolor=IndianRed3}
\psplot{-2}{0}{\f}%
\psplot{2}{5}{\f}%
\psplot{-2}{0}{-\f}%
\psplot{2}{5}{-\f}%
\end{pspicture*}
\end{document}