% Author: Dr. Henning Paul, DO9PHB % Year: 2021 \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={$\frac{1}{\mathrm{T}}$,$\frac{2}{\mathrm{T}}$,$\frac{3}{\mathrm{T}}$,$\frac{4}{\mathrm{T}}$,$\frac{5}{\mathrm{T}}$,$\frac{6}{\mathrm{T}}$,$\frac{7}{\mathrm{T}}$}, xtick={1,2,3,4,5,6,7}, xmin=-0.5, xmax=8, ymin=-0.5, ymax=1.7, xmajorgrids=false, xlabel style={at={(ticklabel* cs:1)},anchor=north east}, ylabel style={at={(ticklabel* cs:1)},anchor=south east, rotate=90}, ylabel={Amplitude}, xlabel={$f$}, width=\linewidth*\getDarcImageFactor, height=2.5cm, scale only axis, ] \addplot+[ycomb,no markers,black,line width=2pt] plot coordinates {(1,1) (3,1/3) (5,1/5) (7,1/7)}; \end{axis} \end{tikzpicture}