\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\node[font=\small, anchor=west] at (-0.8,2.0) {(1) I--V charac.};
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,1.2) to[short, i=$I_x$] (0.9,1.2);
\draw (0,0) -- (0.9,0);
\node[block, minimum width=1.6cm, minimum height=1.6cm, anchor=west] at (0.9,0.6) {};
\begin{axis}[sketch, at={(4.2cm,-0.6cm)}, width=5cm, height=3.6cm, xmin=-1, xmax=1, ymin=-0.5, ymax=1, xlabel={$V_x$}, ylabel={$I_x$}]
  \addplot[domain=-0.9:0.95, samples=80] {0.35*x + 0.25*tanh(8*(x-0.05)) + 0.15*tanh(6*(x-0.5)) + 0.2};
\end{axis}
\begin{scope}[yshift=-3.6cm]
\node[font=\small, anchor=west] at (-0.8,2.0) {(2) input--output charac.};
\draw (0,0) to[american voltage source, l=$V_\mathrm{in}$, invert] (0,1.2) -- (0.9,1.2) (0,0) -- (0.9,0);
\node[block, minimum width=1.6cm, minimum height=1.6cm, anchor=west] (b) at (0.9,0.6) {};
\draw (2.5,1.2) -- (3,1.2) node[ocirc]{} (2.5,0) -- (3,0) node[ocirc]{};
\draw (3,1.2) to[open, v^=$V_\mathrm{out}$] (3,0);
\begin{axis}[sketch, at={(4.2cm,-0.6cm)}, width=5cm, height=3.6cm, xmin=-1, xmax=1, ymin=-0.5, ymax=1, xlabel={$V_\mathrm{in}$}, ylabel={$V_\mathrm{out}$}]
  \addplot[domain=-0.9:0.95, samples=80] {0.3*x + 0.2*tanh(8*(x-0.05)) + 0.2*tanh(6*(x-0.45)) + 0.25};
\end{axis}
\end{scope}
\end{circuitikz}
\end{document}
