
답변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}