\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\newcommand\micl[1]{\begin{scope}[shift={#1}]\draw[line width=1.2pt] (0.35,0.35) -- (0.1,0.35) arc (90:270:0.35) -- (0.35,-0.35) -- cycle;\end{scope}}
\draw (0,0) node[npn](Q){};
\draw (Q.C) -- ++(0,0.3) coordinate(o) to[R, l=$R_\mathrm{C}$, a=$1\,\mathrm{k\Omega}$] ++(0,1.6) coordinate(vt) +(-0.3,0) -- +(0.3,0) +(0,0.02) node[above]{$V_\mathrm{CC} = 5\,\mathrm{V}$};
\draw (o) node[circ]{} -- ++(1.0,0) node[ocirc, label=right:$v_\mathrm{out}$]{};
\draw[->] ($(Q.C)+(0.25,0.2)$) -- ++(0,-0.5) node[midway, right, font=\small]{$1\,\mathrm{mA}$};
\draw (Q.E) -- ++(0,-0.8) node[ground]{};
\micl{(-1.6,0)} \draw (-1.25,0) -- (Q.B);
\draw (-1.45,-0.35) to[american voltage source, l=$V_0$, a={\small 750\,mV}] (-1.45,-1.9) node[ground]{};
% V_BE
\begin{axis}[sketch, at={(3.6cm,0.2cm)}, width=7cm, height=3.4cm, xmin=0, xmax=4.4, ymin=700, ymax=790, xlabel={$t$}, ylabel={$V_\mathrm{BE}$}, axis x line=bottom, axis y line=left]
  \addplot table[x=t, y=vbe_mV] {gainvar.dat};
  \draw[dim, dashed] (axis cs:0,750) -- (axis cs:4.2,750) node[right, black, font=\small]{750\,mV};
  \draw[dim, <->] (axis cs:1.25,750) -- (axis cs:1.25,768) node[above, black, font=\small]{18\,mV};
  \node[font=\small, anchor=south] at (axis cs:3.25,770) {$I_\mathrm{C} = 2\,\mathrm{mA}$};
  \node[font=\small, anchor=north] at (axis cs:2.75,730) {$I_\mathrm{C} = 0.5\,\mathrm{mA}$};
\end{axis}
% V_out
\begin{axis}[sketch, at={(3.6cm,-3.6cm)}, width=7cm, height=3.4cm, xmin=0, xmax=4.4, ymin=2.5, ymax=4.8, xlabel={$t$}, ylabel={$V_\mathrm{out}$}, axis x line=bottom, axis y line=left]
  \addplot table[x=t, y=vout_V] {gainvar.dat};
  \draw[dim, dashed] (axis cs:0,4) -- (axis cs:4.2,4) node[right, black, font=\small]{4\,V};
\end{axis}
\draw[note, ->] (7.2,-4.5) node[below]{Distortion (nonlinearity)} -- (6.6,-3.4);
\end{circuitikz}
\end{document}
