I currently want to depicting how an algorithm is working. The algorithm is using three different steps, which are repeatedly called.
So I want a result like this:

But I currently only get

My source:
\documentclass{scrbook}
\usepackage{pgfplots}
\pgfplotsset{compat=1.12}
\usepackage{tikz}
\usepackage{subcaption}
\begin{document}
Test
\begin{figure}[h]
\centering
\subcaptionbox{}{
\begin{tikzpicture}
\draw (0, 0) rectangle (4, 2.5);
\end{tikzpicture}
}
\subcaptionbox{}{
\begin{tikzpicture}
\draw (0, 0) rectangle (4, 2.5);
\end{tikzpicture}
}
\subcaptionbox{}{
\begin{tikzpicture}
\draw (0, 0) rectangle (4, 2.5);
\end{tikzpicture}
}
\subcaptionbox{}{
\begin{tikzpicture}
\draw (0, 0) rectangle (4, 2.5);
\end{tikzpicture}
}
\end{figure}
\end{document}
I already had the idea to add two dummy images to archive my wished result
\subcaptionbox{}{
\phantomcaption
\begin{tikzpicture}
\draw[opacity=0] (0, 0) rectangle (4, 2.5);
\end{tikzpicture}
}
But using of phantomcaption only result in changed caption (always "a" instead of "e" and "f", whereas I expected a removed caption)




\centering. – erik Mar 10 '15 at 19:57