Graphics, Figures & TablesTwo Figures in same Column

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
thekappe
Posts: 6
Joined: Mon Oct 29, 2012 5:10 pm

Two Figures in same Column

Post by thekappe »

Hello guys !

I have a problem. I want to put two figures on the same page in one column.

I have tried the easy way:

Code: Select all

\begin{figure} 
 \includegraphics{fig1} 
 \includegraphics{fig2} 
\end{figure}
But I have noticed that the images are not centered in the page. The first one is aligned at the top of the page and the second one is aligned at the end of the first one.

So I have searched something like this.

Code: Select all

\begin{figure}
 \begin{minipage}{.5\textwidth}
  \includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{fig1}
  \caption{first}
 \end{minipage}
 \begin{minipage}{.5\textwidth}
  \includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{fig2}
  \caption{second}
 \end{minipage}
\end{figure}
But it puts the figures in a row not in a column.

Someone can help me?

Thank you very much!
Last edited by localghost on Tue Nov 20, 2012 10:15 am, edited 1 time in total.

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

svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Two Figures in same Column

Post by svend_tveskaeg »

Please read this thread.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
thekappe
Posts: 6
Joined: Mon Oct 29, 2012 5:10 pm

Re: Two Figures in same Column

Post by thekappe »

Read. Thanks !!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Two Figures in same Column

Post by localghost »

thekappe wrote:Read. Thanks !!
And you've got any new insights regarding an adequate problem description after reading?


Thorsten
Post Reply