\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{circuitikz}[font=\small]
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,2.4) to[short, i=$I_x$] (1.6,2.4) -- (3.2,2.4) to[R, l=$R_1$] (3.2,1.2) to[battery1, l=$V_\mathrm{B}$] (3.2,0) -- (0,0);
\draw (1.6,2.4) node[circ]{} to[empty diode, l_=$D_1$] (1.6,0) node[circ]{}; \node[right, font=\footnotesize] at (1.95,1.2) {ideal};
\begin{scope}[xshift=8.2cm, yshift=1.2cm]
\axes{-2.2}{2.6}{-1.8}{2.0}{$V_x$}{$I_x$}
\draw[cv] (-1.6,-1.6) -- (0,-0.6); \draw[cv] (0,-0.6) -- (0,1.8);
\draw[dashed] (0,-0.6) -- (1.6,0.4);
\xt{0.96}{$V_\mathrm{B}$} \node[below right, font=\footnotesize] at (0,0) {$0$};
\draw (-1.0,-1.225) -- (-0.6,-1.225) -- (-0.6,-0.975); \node[below, font=\footnotesize] at (-0.6,-1.25) {$\frac{1}{R_1}$};
\node[left] at (-0.3,0.9) {$I_x = \dfrac{V_x - V_\mathrm{B}}{R_1}$};
\node[left, font=\footnotesize] at (-1.0,-1.75) {slope: $\frac{1}{R_1}$};
\end{scope}
\end{circuitikz}
\end{document}
