\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee410.tikz}
\begin{document}
\begin{tikzpicture}
% periodic extension x~(t): the pulse repeated every T0
\begin{axis}[sig, width=6.6cm, height=3.6cm, xmin=-4.6, xmax=4.8, ymin=-0.1, ymax=1.35,
  xtick=\empty, ytick=\empty, xlabel={$t$}, ylabel={$\tilde{x}(t)$}]
  % the copies at -T0 and T0 in normal weight; the pulse itself, one period around 0, drawn heavy as in the notes
  \foreach \c in {-3,3} {
    \edef\tmp{\noexpand\addplot[gaaccent, line width=1.1pt] coordinates {(\c-1,0) (\c-1,1) (\c,0.6) (\c+1,1) (\c+1,0)};}\tmp
  }
  \addplot[gaaccent, line width=2.4pt, line join=round] coordinates {(-1,0) (-1,1) (0,0.6) (1,1) (1,0)};
  \draw[<->] (axis cs:-1.5,-0.35) -- (axis cs:1.5,-0.35) node[midway, below, font=\small]{$T_0$};
\end{axis}
% Fourier series coefficients |D_n|
\begin{axis}[sig, at={(7.2cm,0)}, width=8cm, height=3.6cm, xmin=-3.6, xmax=3.9, ymin=0, ymax=1.3,
  xtick={-3,-2,-1,1,2,3}, xticklabels={$-3\omega_0$,$-2\omega_0$,$-\omega_0$,$\omega_0$,$2\omega_0$,$3\omega_0$},
  ytick=\empty, xlabel={}, ylabel={$|D_n|$}, x tick label style={font=\scriptsize}]
  \addplot[dim] coordinates {(-3,0.3) (-2,0.5) (-1,0.72) (0,1) (1,0.72) (2,0.5) (3,0.3)};
  \addplot[dt] coordinates {(-3,0.3) (-2,0.5) (-1,0.72) (0,1) (1,0.72) (2,0.5) (3,0.3)};
  \node[font=\scriptsize, anchor=north west] at (axis cs:0,0) {$0$};
\end{axis}
\end{tikzpicture}
\end{document}
