Multiple sub-figures in Latex

Use the subfig package, so in the preamble, insert this line:

\usepackage{subfig}

Here’s an example of how it’s used (from a Climate Dynamics class assignment):

\begin{figure}[H]
\centering
\subfloat[Zonal Winds - Aquaplanet model]{\includegraphics[width=3in]{pics/P2_1B_zonalwind_image}}
\subfloat[Precipitation - Aquaplanet model]{\includegraphics[width=3in]{pics/P2_1B_precip_image}}\\
\subfloat[Zonal winds - Full geography model]{\includegraphics[width=3in]{pics/P1_2extra_uref_January}}
\subfloat[Precipitation - Full geography model]{\includegraphics[width=3in]{pics/P1_2extra_precip_January}}\\
\caption{Comparison of zonally averaged surface winds and
precipitation fields between the full geography model and the
aquaplanet model.}
\label{fig:p2q1pb}
\end{figure}

And the final result looks like this:

Leave a Reply

Your email address will not be published. Required fields are marked *