Graphics, Figures & TablesScaling Figures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
gregoriomartjim
Posts: 2
Joined: Tue Oct 25, 2011 1:30 am

Scaling Figures

Post by gregoriomartjim »

Hello!
I am working in a thesis and i am having a trouble trying to scale a figure in my document.

I am using an EPS figure to insert on my file, the figure shows up when I compile the whole document but if i try to change the size using the command height, width or scale the compilation cut my document where my figure was and it doesn't show anymore.

this is an example of what i am trying to do

Code: Select all

Code, edit and compile here:
\begin{figure}[h]
\includegraphics[width=5cm,height=5cm]{fig.eps}
\caption{Sample figure}
\label{fig:intro:fig2}
\end{figure}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
i hope you can help me , because the only way that i am thinking is just use an other program to change the size for each one of my figures

Recommended reading 2024:

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

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

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

Scaling Figures

Post by localghost »

Probably there is not enough space and the figure will float. Check your document to see if it appears later. For better placement try other parameters.

Code: Select all

Code, edit and compile here:
\begin{figure}[!ht]
\centering
\includegraphics[width=5cm,height=5cm]{fig.eps}
\caption{Sample figure}\label{fig:intro:fig2}
\end{figure}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Best regards and welcome to the board
Thorsten
gregoriomartjim
Posts: 2
Joined: Tue Oct 25, 2011 1:30 am

Re: Scaling Figures

Post by gregoriomartjim »

Thanks i solved the problem, i had many errors before so i just fix them all and the figure showed up by the way i also change from texnicenter to windt
Post Reply