# LATEX - Insert Figure

1. ## latex insert figure

Hi.. Can someone tell me how to insert a picture in a Latex file ?

I have a figure in .jpg format and .emf format..

Thanks.

•

2. ## insert figure latex

I think if you have some editor like Winedit and TexNicenter, they might be able to insert a figure for you.

This is what I do

\begin{figure}[h]
\centering
\includegraphics[width=13cm,height=7cm]{G:/mywork/pix/xxxx.jpg}
\caption{Result for the day}
\label{fig:151106b_measure}
\end{figure}

A useful link to learn basic latex
http://en.wikibooks.org/wiki/LaTeX
http://www.ctan.org/tex-archive/help...e/bytopic.html

1 members found this post helpful.

3. ## insert picture in latex

Also dont forget to include the latex graphicx libraray!

1 members found this post helpful.

4. ## insert figure in latex

hi

thanks for your help. But quality of the loaded figure in PDF format (created by Latex) is not good. How can I load a picture in Latex with a good guality ?

thanks.

5. ## insert jpg latex

Originally Posted by amir_rastegar2003
hi

thanks for your help. But quality of the loaded figure in PDF format (created by Latex) is not good. How can I load a picture in Latex with a good guality ?

thanks.
I don't think so, the quality of the pic is very good I'm sure of this.
In the code was wirtten above you can change " [h] " to " [H] " to allow you put the pic as you want exactly.

•

6. ## how to insert figure in latex

hi

I mean the pic is not so clear in PDF (created by Latex) also thae have their original resolotion.

thanks.

•

7. ## latex figure

ِAre you want to improve the original resolution of the pic?

8. ## latex insert jpg

No dear,

AsI said, the loaded pic has resolutios as the main pic, but it is not so clear, you should zoom on in to see the pic with more clearity.

ok?

Consider the following situatioin: I'm to load a simulation result from MATLAB to LATEX. what should I do to obtain a good latex file with a high quality pic??
thanks a lot.

9. ## insert picture latex

ٍِSA,
Oh I get it, thanx for you, I'll give you the comment that allow you to resize the pic as you want.

\begin{figure}[htbp]
\centering
\resizebox{0.75\textwidth}{!}{\includegraphics{b2} }
\label{fig:pic}
\end{figure}

This is the explanation for the above code.
THe "resize" command is to allow you to resize your pic in any size refer to the text width, so I wrote 0.75\textwidth , and the "!" sign is put to save the aspect ratio between the width and hight of the pic, you can also make the pic size 1\textwidth, this mean the pic will take the all space allowed for the text, so you can write any size you want.
Another important note you can see in the same command I didn't write the path of the pic, because when you write the path it appear in the pdf, so you put the pic in the same path of the LATEX file you run and remove the path when you put the pic as I wrote.
Salam.

10. ## insert figure

Hi

In Latex you will get the best result, if you use a graphis which is in vector format. JPEG is not, but PNG, EPS is vector graphics format and will be very clear and sharp.
So if you want a good result you have to export to EPS or something similar. Matlab can do this.

Regards

11. ## insert jpg in latex

hi

when you do your simulation in MATLAN, resize your pic (simulation result) and the save it in the same path that your latex file is there. then use rhe above commands (with a resize factor of .9 or .8 or ....bepend on your pic size). and then build the latex file. see the result. it's perfect.
thanks!

12. ## insert a figure in latex

I didn't try it, but I think it will very good.

13. ## insert emf into latex

i test it. the result is perfect!!!!!!