\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee410.tikz}
\begin{document}
\begin{tikzpicture}
\begin{axis}[sketch, axis lines=none, width=7.5cm, height=3.6cm, xmin=-4, xmax=9, ymin=-0.1, ymax=1.3]
  % step
  \addplot[black, line width=0.9pt] coordinates {(-4,0) (0,0) (0,1) (8,1)};
  % response settling with small ripple to the step level
  \addplot[gaaccent, domain=-1.5:8, samples=200] {x<0 ? 0.25*(x+1.5)^2/2.25*0.75 : 1-0.8*exp(-0.9*x)*cos(deg(2.2*x))};
  % slower response settling below: steady-state error
  \addplot[black, domain=-1.5:8, samples=120] {x<0 ? 0.12*(x+1.5)^2/2.25 : 0.88-0.76*exp(-0.55*x)};
  \draw[dim, ->] (axis cs:8.4,1.22) -- (axis cs:8.4,1.0);
  \draw[dim, ->] (axis cs:8.4,0.66) -- (axis cs:8.4,0.87);
  \node[note, right] at (axis cs:8.4,0.93) {error};
\end{axis}
\end{tikzpicture}
\end{document}
