Files

33 lines
1.1 KiB
TeX

% Author: Dr. Matthias Jung, DL9MJ
% Year: 2020
\begin{tikzpicture}
\begin{axis}[%
/pgf/number format/1000 sep={ },
/pgf/number format/use comma,
axis lines=middle,
axis line style={-Triangle},
ytick={-1,-0.7,-0.5,0,0.5,0.7,1},
grid=major,
grid style={line width=.1pt, draw=gray!10},
major grid style={line width=.2pt,draw=gray!50},
xticklabel=\empty,
xtick style={draw=none},
xmin=0,
xmax=2.2*pi,
ymin=-1.5,
ymax=1.5,
xmajorgrids=false,
tick label style={font=\footnotesize},
every major tick/.append style={thick, black},
every axis plot/.append style={line width=0.8pt},
xlabel style={at={(ticklabel* cs:1)},anchor=north east},
ylabel style={at={(ticklabel* cs:1)},anchor=north east},
ylabel={$U$},
xlabel={$t$},
scale only axis,
height=5cm,
width=\linewidth*\getDarcImageFactor
]
\addplot[samples=500,domain=0:2.2*pi,smooth,black] {sin(deg(x))};
\end{axis}
\end{tikzpicture}%