  \centerline{%
    \begin{tikzpicture}[scale=0.7,>=latex]
      \fill[gray!30] (0,0) -- (0,0.3375) -- (4,0.3375) -- (4,0);
      \node (UT) at (0.8,1.3) {\small $q_{ut}$};
      \draw[thin] (0.6,0.15) -- (UT);
      \fill (0.6,0.15) circle[radius=0.7mm];
      \draw (0,0.3375) -- (4,0.3375);
      %
      \fill[gray!60] (1.2,0) -- (1.2,-1.5) -- (3,0);
      \node (IN) at (2.2,1.3) {\small $q_{in}$};
      \draw[thin] (1.8,-0.5) -- (IN);
      \fill (1.8,-0.5) circle[radius=0.7mm];
      \draw (0,0) -- (1.2,0) -- (1.2,-1.5) -- (3.0,0) -- (4,0);
      %
      \node (in) at (3.0,-1.6) {ström in};
      \node (ut) at (3.9,-0.7) {ström ut};
      \draw[thin,<-] (2.3,-0.6) -- (in);
      \draw[thin,<-] (3.3,+0.29) -- (ut);
     %
      % horizontal axis
      \draw[->] (-0.2,0) -- (0.5+4,0) node[right] {$t$};
      \node at (1.3,0.7) {$T_1$};
      \node at (3.0,0.7) {$T_2$};
      \node at (4.0,0.7) {$T_s$};
      % vertical axis
      \draw[->] (0,-1.7) -- (0,1.5) node[above] {$i_C(t)$};
      \draw (0,-1.5) -- (-0.1,-1.5) node[anchor=east] {$-\max i_L$};
      \draw (0.0,0) -- (-0.2,0) node[anchor=east] {$-\min i_L$};
      \draw (0.0,0.3375) -- (-0.1,0.3375) node[anchor=south east] {$-I_{ut}$};
    \end{tikzpicture}
    \ind{15mm}
    \begin{tikzpicture}[scale=0.7,>=latex]
      \draw (0,0.3375) -- (1.2,0.3375) -- (1.2,-1.1635) -- (3.0,0.3375) -- (4,0.3375);
      %
      % horizontal axis
      \draw[->] (-0.2,0) -- (0.5+4,0) node[right] {$t$};
      \node at (1.3,0.7) {$T_1$};
      \node at (3.0,0.7) {$T_2$};
      \node at (4.0,0.7) {$T_s$};
      % vertical axis
      \draw[->] (0,-1.7) -- (0,1.5) node[above] {$i_C(t)$};
      \draw (0,-1.1635) -- (-0.1,-1.1635) node[anchor=east] {$-\max i_L - I_{ut}$};
      \draw (0.0,0.3375) -- (-0.1,0.3375) node[anchor=south east] {$-I_{ut}$};
    \end{tikzpicture}
  }
  \caption{Strömmar för kondensatorn}
