wie man 3x1 Nebenhandlungen in einer Figur macht

wie man 3x1 Nebenhandlungen in einer Figur macht

Ich muss 3x1-Nebenplots erstellen, also 3 Zeilen x 1 Spalte. Weiß hier jemand, wie das geht? Jede Hilfe ist willkommen. Vielen Dank im Voraus

Antwort1

Eine tabellarische Lösung kommt:

\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage{mwe}
\begin{document}

\begin{figure}%
\centering\begin{tabular}{c}
\includegraphics[scale=0.5]{example-image-a}\\
A\\[3ex]% add a little extra space
\includegraphics[scale=0.5]{example-image-b}\\
B\\[3ex]
\includegraphics[scale=0.5]{example-image-c}\\
C
\end{tabular}
\caption{Here are three figures.}%
\label{fig:cont}%
\end{figure}

\end{document}

tabellarisch

Warum Subfigure überhaupt entwickelt wurde, ist mir schleierhaft.

Antwort2

Aus der Dokumentation vonsubfig,Seite 5, leicht modifiziert (hinzugefügt \par), um sie in drei Reihen anzuordnen:

\documentclass[a4paper]{article}
\usepackage{subfig}
\begin{document}

\begin{figure}%
\centering
\subfloat[][]{...figure code...}\par
\subfloat[][]{...figure code...}\par
\subfloat[][]{...figure code...}
\caption{Here are three figures.}%
\label{fig:cont}%
\end{figure}

\end{document}

verwandte Informationen