Graphics, Figures & TablesAdd four Figures on the same Page Side by Side

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
nenu28
Posts: 28
Joined: Mon Jun 27, 2011 11:24 am

Add four Figures on the same Page Side by Side

Post by nenu28 »

Hi,
I would like to add four figures : fig1, fig2, fig3 and fig4 on the same page but side by side. For example :
|fig1 fig2 |
|fig3 fig4 |

I also want to write on the bottom of each and every single of them the description (The small subtitle) then the big tite for four of them.

I tried with two figures but don't know for four. Here is the code I am using which is working properly:

Code: Select all

\begin{figure}
\centering
  \mbox{\subfigure[Description of left graph]{\includegraphics[width=3in]{1a.eps}}\quad
         \subfigure[Description of right graph]{\includegraphics[width=3in]{1b.eps}}}
 \caption{Text pertaining to both graphs ...} \label{fig12}
\end{figure}

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Add four Figures on the same Page Side by Side

Post by localghost »

What about a proper minimal example [1]? Or is that too much to ask for? *facepalm*

[1] View topic: Avoidable Mistakes


Thorsten
nenu28
Posts: 28
Joined: Mon Jun 27, 2011 11:24 am

Re: Add four Figures on the same Page Side by Side

Post by nenu28 »

Hi Sir,

I don't understand what you mean by minimal example. I sent my code but this is just working with two figure. I have four plots and would like to add them side by side like this model

plot 1 plot2
plot3 plot4

Hope to get help from you. Thanks !
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Add four Figures on the same Page Side by Side

Post by localghost »

nenu28 wrote:[…] I don't understand what you mean by minimal example. […]
What about just following the two links in my last reply and reading? The code snippet you presented is absolutely useless. A minimal example begins with \documentclass and ends with \end{document}. It reflects your recent efforts reduced to only relevant code. If you are not able to present such an example, I'm pessimistic about specific help.
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Add four Figures on the same Page Side by Side

Post by sommerfee »

nenu28 wrote:plot 1 plot2
plot3 plot4
How would you typeset this? I guess like

Code: Select all

plot1 \quad plot2 \\
plot3 \quad plot4
So all you have to do is typesetting your sub-figures the same way.
Post Reply