% Author: Dr. Henning Paul, DC4HP % Year: 2022 \begin{tikzpicture} \begin{axis}[% /pgf/number format/1000 sep={ }, /pgf/number format/use comma, axis lines=middle, axis line style={-Triangle}, ytick style={draw=none}, ymajorgrids=false, yticklabel=\empty, grid style={line width=.1pt, draw=gray!10}, major grid style={line width=.2pt,draw=gray!50}, xticklabels={$0$, $\frac{1}{2} {f}_\mathrm{A}$, ${f}_\mathrm{A}$, $\frac{3}{2} {f}_\mathrm{A}$}, xtick={0,1,2,3}, xmin=-0.1, xmax=3.5, ymin=-0.3, ymax=1.2, xmajorgrids=false, xlabel style={at={(ticklabel* cs:1)},anchor=north east}, ylabel style={at={(ticklabel* cs:1)},anchor=north east}, xlabel=$f$, ylabel=$A$, width=\linewidth*\getDarcImageFactor, height=4cm, scale only axis, ] \addplot[samples=181,domain=0.0:1.90,smooth] {1.0}; \addplot[samples=11,domain=1.9:2.0,smooth] {0.5-0.5*cos(deg(x)*10*pi)}; \addplot[samples=100,domain=2.0:3.0,smooth] {0.0}; \node[align=center] at (axis cs: 1.0,0.5) {\footnotesize Passband}; \node at (axis cs: 2.5,0.2) {\footnotesize Spärrband}; \end{axis} \end{tikzpicture}