\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
% npn with fixed V_BE and a variable V_CE
\draw (1.6,1.4) node[npn](q){};
\draw (q.B) -- ++(-0.8,0) to[battery1] ++(0,-1.2) coordinate(bl);
\draw (q.E) -- (q.E |- bl) coordinate(be) -- (bl);
\draw (q.C) -- ++(0,0.4) -- ++(1.3,0) coordinate(cr);
\draw (cr) to[american voltage source, l=$V_\mathrm{CE}$] (cr |- be) -- (be);
\draw[->] ($(cr)!0.5!(cr |- be)+(-0.45,-0.45)$) -- ++(0.9,0.9);
% I_C vs V_CE
\begin{axis}[sketch, at={(4.6cm,-0.2cm)}, width=5.2cm, height=3.6cm, xmin=0, xmax=1.2, ymin=0, ymax=1, xlabel={$V_\mathrm{CE}$}, ylabel={$I_\mathrm{C}$}]
  \addplot[gaaccent, line width=1.1pt, domain=0.15:1.05] {0.3+0.35*(x-0.15)};
  \addplot[black, line width=0.8pt, domain=0.15:1.05] {0.3};
  \node[note, anchor=south, rotate=15] at (axis cs:0.8,0.53) {reality};
  \node[note, anchor=west] at (axis cs:1.07,0.3) {$\leftarrow$ ideal};
\end{axis}
\end{circuitikz}
\end{document}
