Files

43 lines
1.4 KiB
TeX

% Author: Dr. Matthias Jung, DL9MJ
% Author: Stephan Kregel, DG1HXJ
% Year: 2022
\begin{tikzpicture}
\pgfplotsset{
every axis plot/.append style={line width=0.8pt},
}
\begin{axis}[%
/pgf/number format/1000 sep={ },
/pgf/number format/use comma,
axis lines=middle,
axis line style={-Triangle},
width=\linewidth*\getDarcImageFactor,
height=3cm,
scale only axis,
ytick={-1,0,1},
every major tick/.append style={thick, black},
%yticklabels={-A,0,+A},
xtick={0.25*pi,0.5*pi,0.75*pi,pi,1.25*pi,1.5*pi,1.75*pi,2*pi,2.5*pi},
%xticklabels={$\mathrm{X}_1$,$\mathrm{X}_2$,$\mathrm{X}_3$,$~~\mathrm{X}_4$,$\mathrm{X}_5$},
grid=major,
grid style={line width=.1pt, draw=gray!10},
major grid style={line width=.2pt,draw=gray!50},
xticklabel=\empty,
yticklabel=\empty,
%ticks=none,
xtick style={draw=none},
ytick style={draw=none},
xmin=0,
xmax=2.2*pi,
ymin=-1.5,
ymax=1.5,
xmajorgrids=false,
ymajorgrids=false,
%label style={font=\small},
xlabel style={at={(ticklabel* cs:1)},anchor=north east},
ylabel style={at={(ticklabel* cs:1)},anchor=north east},
ylabel={$U_\mathrm{HF}$},
xlabel={$t$},
]
\addplot[domain=0:2.0*pi,black,samples=3000] {cos((x*20 + 6*sin(x*2*180/pi))*180/pi)};
\end{axis}
\end{tikzpicture}%