![我如何在 LaTeX 中绘制此方程式?](https://linux22.com/image/411534/%E6%88%91%E5%A6%82%E4%BD%95%E5%9C%A8%20LaTeX%20%E4%B8%AD%E7%BB%98%E5%88%B6%E6%AD%A4%E6%96%B9%E7%A8%8B%E5%BC%8F%EF%BC%9F.png)
答案1
只是 justonly 并不是唯一的答案。;-)
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{patterns.meta}
\begin{document}
\begin{tikzpicture}[>=stealth,pics/arr/.style={code={\draw[->] (-0.1,0) --
(0.1,0);}}]
\draw[->] (-4,0) -- (4,0) node[right]{$x$};
\draw[->] (0,-4) -- (0,4) node[right]{$y$};
\draw[pattern={Lines[angle=67.5,distance={8pt}]}] (-pi,pi) -- (0,0) pic[midway,sloped,red]{arr} coordinate (O) -- (-pi,0);
\draw[pattern={Lines[angle=-22.5,distance={8pt}]}] (0,pi) -- (O) -- (pi,pi) pic[midway,sloped,red]{arr};
\draw[pattern={Lines[angle=-22.5,distance={8pt}]}] (-pi,-pi) -- (O) -- (0,-pi);
\draw[pattern={Lines[angle=67.5,distance={8pt}]}] (pi,-pi) -- (O) -- (pi,0);
\foreach \X [count=\Y] in {D_1^+,D_2^+,D_1^-,D_2^-}
{\path (-22.5+90*\Y:pi+0.6) node{$\X$};
\draw (-90+90*\Y:1) arc[start angle=-90+90*\Y,end angle=-90+90*\Y+45,radius=1]
node[midway,anchor=22.5-270+90*\Y]{$\frac{\pi}{4}$};
}
\end{tikzpicture}
\end{document}
我实际上不太明白这些是如何成为 x^4-y^4=0 的解的,但是我输入了这么多 pi,所以这并不重要。
添加角度和引号库并不能使其变得更优雅。