\input{makecube.tex}
  \begin{tikzpicture}[>=stealth]
    \node[anchor=south west, inner sep=0] at (-0.5,0) {\cube{0.5}{2}{red}};
    \node[anchor=south west, inner sep=0] at (0,0) {\cube{1.5}{2}{yellow}};
%    \node[anchor=south west, inner sep=0] at (1.5,0) {\cube{0.05}{2}{black!10!white}};
    \node[anchor=south west, inner sep=0] at (1.5,0) {\cube{1.5}{2}{yellow}};
    \node[anchor=south west, inner sep=0] at (3.0,0) {\cube{0.5}{2}{green}};
    \foreach \x in {0.75, 1.05, ..., 2.95} {
      \pgfmathsetmacro{\yval}{3.175 + 0.125*rand};
      \draw[red,thick,decorate,decoration={snake},-stealth] (\x,\yval) -- ++(0,-1.05); %(0.75,2.2);
    };
    \node at (1.5,1.0) {depletion};
    \node at (-0.25,1.0) {P};
    \node at (3.25,1.0) {N};
    
    \draw[|<->|] (0,-0.125) -- (3,-0.125);
    \draw[|<->|] (3.75,0) coordinate (a) ++(0.25,0.125) coordinate (b) ($(a)!-0.7!(b)$) -- ($(a)!1.3!(b)$);
    \node [anchor=north] at (1.5,-0.125) {$W$};
    \node[anchor=north] at ($(a)!0.75!(b)$) {$T$};
%    \draw[red,thick,decorate,decoration={snake},-stealth] (0.95,3.25) -- (0.75,2.2);
%    \draw[red,thick,decorate,decoration={snake},-stealth] (1.15,3.25) -- (0.75,2.2);
%    \draw[red,thick,decorate,decoration={snake},-stealth] (1.35,3.25) -- (0.75,2.2);
%    \draw[red,thick,decorate,decoration={snake},-stealth] (1.45,3.25) -- (0.75,2.2);
  \end{tikzpicture}
