Q:

How can I place 5 plots symmetrically in one figure?

I am writing a paper wherein I have to place five plots in one figure. My figure currently looks like this:
| plot 1  |  plot 2  |  plot 3 |
|  plot 4  |  plot 5  |
The image in the second row (fig 4) starts from the margin whereas I want fig 4 and 5 in the center of the row. I have been using tabular option so far and I realized that I wouldn't get my desired figure with tabular. Can anyone suggest a way I can get the desired format of figure? Thanks!

A:

Using the subcaption package, you can enclose everything in a single figure environment and use subfigure environments for your separate plots.
\documentclass{article}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\centering
\begin{subfigure}[b]{0.3\textwidth}
% plot 1
\caption{Caption 1} % subcaptions aren't mandatory
\end{subfigure} \quad
\begin{subfigure}[b]{0.3\textwidth}
% plot 2
\end{subfigure} \quad
\begin{subfigure}[b]{0.3\textwidth}
% plot 3
\end{subfigure}
\\
\begin{subfigure}[b]{0.3\textwidth}
% plot 4
\end{subfigure}\quad
\begin{subfigure}[b]{0.3\textwidth}
% plot 5
\end{subfigure}
\caption{Hello, world.}
\end{figure}
\end{document}

See also: documentation for subcaption package.

