Graphics, Figures & TablesMulti-Graph files in One Figure, 2 figures one page

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
BMAcox
Posts: 40
Joined: Sun Dec 23, 2007 12:07 am

Multi-Graph files in One Figure, 2 figures one page

Post by BMAcox »

Hello:

I have two figures that I need to fit onto one page. I would like to fit two graph files to each figure so that I have 4 graphic images on 1 page labeled as two independent figures.

I first tried shrinking the image files (.pdf files) and use the following syntax, but it broke the second set of graphs onto a second different page. :(

\begin{figure}
\centering
\includegraphics[]{filepath}
\includegraphics[]{filepath}
\caption{Title of Fig 1}
\end{figure}
\begin{figure}
\centering
\includegraphics[]{filepath}
\includegraphics[]{filepath}
\caption{Title of Fig 2}
\end{figure}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

magicmoose
Posts: 90
Joined: Fri Nov 06, 2009 7:29 am

Multi-Graph files in One Figure, 2 figures one page

Post by magicmoose »

Hi,

Check out the subfig package
You could also try enclosing the whole lot in a minipage, or inside the samepage environment
Or, could you make the images smaller? :P

Hope that helps
BMAcox
Posts: 40
Joined: Sun Dec 23, 2007 12:07 am

Re: Multi-Graph files in One Figure, 2 figures one page

Post by BMAcox »

Yes, I tried to make the images smaller. But is there syntax in the \includegraphics statement that we specify same page?
magicmoose
Posts: 90
Joined: Fri Nov 06, 2009 7:29 am

Multi-Graph files in One Figure, 2 figures one page

Post by magicmoose »

Yes, have a look at this link which is the LaTeX WkikBook and it explains the specifiers to use, you could try 'p' or 'H' with the float package

Hope that helps
Post Reply