이런 그림은 그리기 싫은데 어떻게 그릴 수 있나요?

이런 그림은 그리기 싫은데 어떻게 그릴 수 있나요?

LaTeX에는 정확히 다음 곡선이 필요합니다.

원하는 플롯을 표시하는 대상 이미지

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

여기에 이미지 설명을 입력하세요

관련 정보