我尝试过使用比例尺框,但这种情况仍然会发生,所以无论我如何缩放它,我的地块的标签都会有这些切口
这是我的代码:
\begin{figure}[!h]
\begin{tikzpicture}
\begin{axis}[
width=16cm, height=5cm,
xmin=0, xmax=10.2,
ymin=-1.3, ymax=1.3,
axis lines = left]
\addplot [domain=0:9.2,samples=700,red] {sin(deg(x))} node[right] {$\sin{(x)}$};
\addplot [domain=0:9.2,samples=700,green] {cos(deg(x))} node[right] {$\cos{(x)}$};
\addplot [domain=0:9.2,samples=700,blue,dashed] {sin(deg(2*x))} node[right] {$\sin{(2x)}$};
\addplot [domain=0:9.2,samples=700,black,dashed] {cos(deg(2*x))} node[right] {$\cos{(2x)}$};
\end{axis}
\end{tikzpicture}
\caption{Funktionsplot von Sinus und Kosinus.}
\label{fig:sin}
\end{figure}