\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{tikzpicture}
% bar
\begin{scope}[shift={(0,5.2)}]
\draw[line width=1.1pt] (0,0) -- (3.4,0) -- (3.4,0.6) -- (0,0.6) -- cycle (0,0.6) -- (0.5,1.1) -- (3.9,1.1) -- (3.4,0.6) (3.4,0) -- (3.9,0.5) -- (3.9,1.1);
\node at (2.1,0.85) {n-type};
\draw[->, gaaccent] (-1,0.9) -- (0.05,0.5); \draw[->, gaaccent] (-1,0.4) -- (0.05,0.3);
\node[note, left, align=right] at (-1,0.65) {injection\\of electrons};
\end{scope}
% n(x): exponential with recombination; linear without
\begin{axis}[sketch, at={(0,2.2cm)}, width=5.4cm, height=3.4cm, xmin=0, xmax=4, ymin=0, ymax=1.15, xlabel={$x$}, ylabel={$n$}]
  \addplot[domain=0:3.8, samples=80] {exp(-x/0.8)};
  \addplot[gagray, dashed, domain=0:3.8] {1-x/3.8};
  \node[note, anchor=west] at (axis cs:1.9,0.75) {no recombination};
\end{axis}
% J(x) = q D_n dn/dx  (negative)
\begin{axis}[sketch, at={(0,-1.6cm)}, width=5.4cm, height=3.6cm, xmin=0, xmax=4, ymin=-1.35, ymax=0.4, xlabel={$x$}, ylabel={$J$}]
  \addplot[domain=0:3.8, samples=80] {-1.25*exp(-x/0.8)};
  \addplot[gagray, dashed, domain=0:3.8] {-0.33};
  \node[note, anchor=west] at (axis cs:3.9,-0.33) {no recombination};
  \draw[note, <-] (axis cs:0.55,-0.68) -- (axis cs:1.4,-0.95) node[anchor=west, align=left]{recombining with holes\\in the semiconductor};
\end{axis}
\end{tikzpicture}
\end{document}
