![如何使用乳胶绘制此图](https://linux22.com/image/447003/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E4%B9%B3%E8%83%B6%E7%BB%98%E5%88%B6%E6%AD%A4%E5%9B%BE.png)
答案1
我根本不擅长 tikz,但作为起点,我建议您使用这个例子:
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\draw[ultra thick, black] (-0.3,3.7) .. controls (2.3,0.1) and (3.1,3.9) .. (5.1,4) .. controls (6.5,4.1) and (6.5,3) .. (8.2,2)node[black, above=15pt,pos=.9]{$f(x)$};
\draw[ultra thick, black] (-0.3,2.7) .. controls (2.3,-0.9) and (3.1,2.9) .. (5.1,3) .. controls (6.5,3.1) and (6.5,2) .. (8.2,1)node[black, below=15pt,pos=.7]{$f(x)$};
\filldraw[black] (0.6,2.7) circle (2pt) node[anchor=south] {$a_i^R$};
\draw[thick, red, dashed] (1.6,0)--(1.6,5);
\draw[thick, red, dashed] (5.2,0)--(5.2,5);
\draw [thick, ->] (-.5,2.7)--(8.3,2.7) node[below]{$y$};
\end{tikzpicture}
\end{document}