\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee410.tikz}
\begin{document}
\begin{tikzpicture}
\begin{axis}[sig, x=0.9cm, y=0.6cm, xmin=-2.6, xmax=4.2, ymin=-1.6, ymax=1.8, xtick={-2,-1,1,2,3}, ytick={-1,1}, axis on top, tick label style={font=\small, fill=white, inner sep=1pt}, xlabel={$\tau$}]
  \draw[dim, dashed] (1.5,0) -- (1.5,1.8);
  \draw[dim, dashed] (2.5,0) -- (2.5,1.8);
  \draw[dim, dashed] (3.5,0) -- (3.5,1.8);
  \addplot[black, line width=1.1pt] coordinates {(0,0) (0,1) (1,1) (1,-1) (2,-1) (2,0)};
  \addplot[gaaccent, line width=1.1pt] coordinates {(1.5,0) (1.5,-1) (2.5,-1) (2.5,1) (3.5,1) (3.5,0)};
  \node[gaaccent, font=\small, anchor=south, inner sep=1.5pt] at (1.5,1.8) {$t-2$};
  \node[gaaccent, font=\small, anchor=south, inner sep=1.5pt] at (2.5,1.8) {$t-1$};
  \node[gaaccent, font=\small, anchor=south, inner sep=1.5pt] at (3.5,1.8) {$t$};
\end{axis}
\end{tikzpicture}
\end{document}
