\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{circuitikz}[font=\small]
\draw (0,0) to[american current source, l=$I_\mathrm{in}$] (0,2.4) -- (1.4,2.4) node[circ]{} -- (2.9,2.4) node[circ]{} -- (4.0,2.4);
\draw (1.4,2.4) to[empty diode, l_=$D_1$] (1.4,0); \draw (2.9,2.4) to[R, l=$R_1$] (2.9,1.2) to[battery1, l=$V_\mathrm{B}$] (2.9,0);
\draw (0,0) -- (4.0,0); \fill (1.4,0) circle (1.6pt) (2.9,0) circle (1.6pt);
\draw[gaaccent, ->] (0.35,2.6) -- (0.95,2.6) node[above, pos=0.5]{$I_\mathrm{in}$};
\draw[gaaccent, ->] (2.7,2.6) -- (2.1,2.6) node[above, pos=0.5]{$I_\mathrm{R}$};
\draw[gaaccent, ->] (1.65,2.1) -- (1.65,1.6) node[right]{$I_\mathrm{D,on}$};
\draw (4.0,2.4) node[ocirc]{}; \draw (4.0,0) node[ocirc]{}; \node at (4.0,2.0) {$+$}; \node at (4.35,1.2) {$V_\mathrm{out}$}; \node at (4.0,0.4) {$-$};
\begin{scope}[xshift=8.6cm, yshift=0.6cm]
\axes{-3.6}{2.2}{-1.4}{2.0}{$I_\mathrm{in}$}{$V_\mathrm{out}$}
\draw[cv] (-3.4,-1.0) -- (-1.4,0.9) -- (2.0,0.9);
\draw[densely dashed] (-1.4,0) -- (-1.4,0.9);
\node[above right, font=\footnotesize] at (0,0.9) {$V_\mathrm{D,on}$};
\draw (-1.4,0.06) -- (-1.4,-0.06) node[below, font=\footnotesize, xshift=6pt]{$-\dfrac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1}$};
\draw (-3.2,-0.81) -- (-2.8,-0.81) -- (-2.8,-0.43); \node[right, font=\footnotesize] at (-2.8,-0.75) {$R_1$};
\end{scope}
\end{circuitikz}
\end{document}
