![使用 Latex 上的 Tikzpicture 进行简单绘图](https://linux22.com/image/434070/%E4%BD%BF%E7%94%A8%20Latex%20%E4%B8%8A%E7%9A%84%20Tikzpicture%20%E8%BF%9B%E8%A1%8C%E7%AE%80%E5%8D%95%E7%BB%98%E5%9B%BE.png)
答案1
\documentclass[tikz, border=20]{standalone}
\begin{document}
\begin{tikzpicture}
\draw[line width=0.1cm, opacity=0.5, red] (0, 0) -- (0, 3);
\draw[->] (0, 0) -- (0, 5) node[above] {\(T\)};
\node[right] at (0, 4) {\(\downarrow RG\)};
\node[right] at (0, 3) {\(t_{\perp}\propto \mathcal{O}(1)\)};
\node[right] at (0, 2) {3DINTER};
\begin{scope}[xshift=3cm]
\draw[line width=0.1cm, opacity=0.5, red] (0, 0) -- (0, 3);
\draw[->] (0, 0) -- (0, 5) node[above] {\(T\)};
\node[right] at (0, 4) {\(\downarrow RG\)};
\node[right] at (0, 3) {\(\Delta_\sigma\)};
\end{scope}
\end{tikzpicture}
\end{document}
使用该库的锯齿线decorations.pathmorphing
。
\documentclass[tikz, border=20]{standalone}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}
\draw[decorate,decoration={zigzag}] (0, 0) -- (0, 3);
\draw[->] (0, 0) -- (0, 5) node[above] {\(T\)};
\node[right] at (0, 4) {\(\downarrow RG\)};
\node[right] at (0, 3) {\(t_{\perp}\propto \mathcal{O}(1)\)};
\node[right] at (0, 2) {3DINTER};
\begin{scope}[xshift=3cm]
\draw[decorate,decoration={zigzag}] (0, 0) -- (0, 3);
\draw[->] (0, 0) -- (0, 5) node[above] {\(T\)};
\node[right] at (0, 4) {\(\downarrow RG\)};
\node[right] at (0, 3) {\(\Delta_\sigma\)};
\end{scope}
\end{tikzpicture}
\end{document}