Grouping two figures together in Latex

There are instances when one want two figures to be placed on a single page. One has space for the two figures, but for some reason Latex decides to place them on two separate figures. What one can do in this case is include both the graphics in a single figure structure as follows

\begin{figure}[t]
\centering
   \includegraphics[width= 0.9\columnwidth]{myfig1.pdf}
   \caption{Caption 1}
   \label{fig:myfig1}

   \includegraphics[width= 0.9\columnwidth]{myfig2.pdf}
   \caption{Caption 2}
   \label{fig:myfig2}
\end{figure}

This will group the two graphics together and place them on a page as a single entity. And because each graphic is followed by a caption, they will receive separate figure numbers.

 

Advertisements
Grouping two figures together in Latex