Files
50ohm-contents-dl/contents/drawings/631.tex
T

35 lines
1.2 KiB
TeX

% Author: Dr. Henning Paul, DC4HP
% Modified: Dr. Matthias Jung, DL9MJ
% Year: 2022
\begin{tikzpicture}
\begin{axis}[%
/pgf/number format/1000 sep={ },
/pgf/number format/use comma,
axis lines=middle,
axis line style={-Triangle},
every axis x label/.style={at={(ticklabel* cs:1.02)},anchor=west,},
every axis y label/.style={at={(ticklabel* cs:1.02)},anchor=south,},
ytick style={draw=none},
ymajorgrids=false,
yticklabel=\empty,
xticklabels={$\mathrm{T}$,$2\mathrm{T}$,$3\mathrm{T}$,$4\mathrm{T}$},
xtick={1,2,3,4},
xmin=-0.5,
xmax=3.7,
ymin=-1.4,
ymax=1.7,
xmajorgrids=false,
xlabel style={at={(ticklabel* cs:1)},anchor=north east},
ylabel style={at={(ticklabel* cs:1)},anchor=south east},
ylabel={$U$},
xlabel={$t$},
width=\linewidth*\getDarcImageFactor,
height=4cm,
scale only axis,
]
\addplot[samples=101,domain=-1.0:0,smooth,dashed] {cos(deg(x)*2*pi)};
\addplot[samples=301,domain=0:3.0,smooth,black] {cos(deg(x)*2*pi)};
\addplot[samples=51,domain=3.0:3.5,smooth,dashed] {cos(deg(x)*2*pi)};
\end{axis}
\end{tikzpicture}