\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,1.6) to[short, i=$I_x$] (0.6,1.6) to[R, l=$R_1$] (2.2,1.6) -- (3.4,1.6) to[empty diode, l=$D_1$] (3.4,0) -- (0,0);
\draw (2.2,1.6) node[circ]{} to[R, l=$R_2$] (2.2,0) node[circ]{};
% I_x = V_x/R_1 (V_x>0), V_x/(R_1+R_2) (V_x<0)
\begin{axis}[sketch, at={(4.8cm,-1cm)}, width=5.6cm, height=4.4cm, xmin=-1, xmax=1, ymin=-0.5, ymax=1, xlabel={$V_x$}, ylabel={$I_x$}]
  \addplot[line width=1.4pt] coordinates {(-1,-0.33) (0,0) (0.95,0.95)};
  \draw[dim] (axis cs:0.5,0.5) -- (axis cs:0.75,0.5) -- (axis cs:0.75,0.75) node[midway, right, font=\small]{$\frac{1}{R_1}$};
  \draw[dim] (axis cs:-0.8,-0.267) -- (axis cs:-0.4,-0.267) -- (axis cs:-0.4,-0.133);
  \node[font=\small] at (axis cs:-0.6,-0.45) {$\frac{1}{R_1+R_2}$};
\end{axis}
\end{circuitikz}
\end{document}
