31 lines
1.0 KiB
TeX
31 lines
1.0 KiB
TeX
% Author: Dr. Matthias Jung, DL9MJ
|
|
% Year: 2024
|
|
\begin{tikzpicture}
|
|
\begin{axis}[%
|
|
/pgf/number format/1000 sep={ },
|
|
/pgf/number format/use comma,
|
|
axis lines=middle,
|
|
axis line style={-Triangle},
|
|
ytick={-2,-1,0,1,2},
|
|
yticklabels={},
|
|
xticklabel=\empty,
|
|
xtick style={draw=none},
|
|
xmin=0,
|
|
xmax=4.2*pi,
|
|
ymin=-2.4,
|
|
ymax=2.7,
|
|
xmajorgrids=false,
|
|
xlabel style={at={(ticklabel* cs:1)},anchor=north east},
|
|
ylabel style={at={(ticklabel* cs:1)},anchor=north east},
|
|
xlabel={$t$},
|
|
width=\linewidth*\getDarcImageFactor,
|
|
height=4cm,
|
|
ymax=3.0,
|
|
scale only axis,
|
|
]
|
|
\addplot[samples=5000,domain=0:4.0*pi,DARCgreen,thick,fill=DARCgreen!30] {1*sin(deg(x)+90)*2*sin(deg(x)+00)};
|
|
\addplot[samples=5000,domain=0:4.0*pi,DARCred,thick] {1*sin(deg(x)+90)};
|
|
\addplot[samples=5000,domain=0:4.0*pi,DARCblue,thick] {2*sin(deg(x)+00)};
|
|
\legend{$P$,$I$,$U$}
|
|
\end{axis}
|
|
\end{tikzpicture} |