<P>
<BR>
Hi<BR>
<BR>
I never used TexMaker, but i think the below one works<BR>
\begin{figure}<BR>
\centering<BR>
\includegraphics[10cm, 5cm][10cm, 5cm]{Graphs PNG/Color Contour SLI.png}<BR>
\caption{This is a test.}<BR>
\end{figure}<BR>
<BR>
<BR>
"[10cm, 5cm][10cm, 5cm]" it is the width of the bounding box you can the value according to your figure measurement.<BR>
<BR>
On Tue, 23 Sep 2008 Sam Albers wrote :<BR>
>Hello all,<BR>
><BR>
>I am trying to create my first LaTex document. I am using TexMaker as a<BR>
>frontend, running Ubuntu 8.04 as my OS. I have created a few figures using R<BR>
>with both the .eps and .png file format. Now I wish to import these into my<BR>
>LaTex document. I thought this would be pretty easy and doubly easu<BR>
>considering I was using TexMaker. Here is what I have done to try and enter<BR>
>these figures:<BR>
><BR>
>\documentclass[12pt]{article}<BR>
>\usepackage{graphicx}[dvips]<BR>
><BR>
>\begin{figure}<BR>
>\centering<BR>
>\includegraphics[scale=1]{Graphs PNG/Color Contour SLI.png}<BR>
>\caption{This is a test.}<BR>
>\end{figure}<BR>
>\end{document}<BR>
><BR>
>This portion of my document returns this error:<BR>
><BR>
>LaTeX Warning: File `Graphs PNG/Color Contour SLI.png' not found on input<BR>
>line<BR>
>48.<BR>
>! LaTeX Error: File `Graphs PNG/Color Contour SLI.png' not found.<BR>
>See the LaTeX manual or LaTeX Companion for explanation.<BR>
>Type H <return> for immediate help.<BR>
>...<BR>
>l.48 ...scale=1]{Graphs PNG/Color Contour SLI.png}<BR>
>Try typing <return> to proceed.<BR>
>If that doesn't work, type X <return> to quit.<BR>
>! LaTeX Error: Cannot determine size of graphic in Graphs PNG/Color Contour<BR>
>SLI<BR>
>.png (no BoundingBox).<BR>
>See the LaTeX manual or LaTeX Companion for explanation.<BR>
>Type H <return> for immediate help.<BR>
>...<BR>
>l.48 ...scale=1]{Graphs PNG/Color Contour SLI.png}<BR>
>Try typing <return> to proceed.<BR>
>If that doesn't work, type X <return> to quit.<BR>
>File: Graphs PNG/Color Contour SLI.png Graphic file (type eps)<BR>
><Graphs PNG/Color Contour SLI.png><BR>
><BR>
>Basically, I can't figure out why LaTex can't find my file. I have tried<BR>
>entering the path manually and using the includegraphics function within<BR>
>TexMaker using both an .eps file and .png. In both cases my .dvi output<BR>
>simply displays the title of the figure and an empty black box. I know this<BR>
>is super simple but all the documentation I have been able to find hasn't<BR>
>been able to address my problem. Am I loading up the wrong driver? Any help<BR>
>would be greatly appreciated.<BR>
><BR>
>Sam<BR>
>_______________________________________________<BR>
>TeX FAQ: http://www.tex.ac.uk/faq<BR>
>Mailing list archives: http://tug.org/pipermail/texhax/<BR>
>More links: http://tug.org/begin.html<BR>
><BR>
>Automated subscription management: http://tug.org/mailman/listinfo/texhax<BR>
>Human mailing list managers: postmaster@tug.org<BR>
</P>
Maheshwari<br><br>
<Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style='font-family:Verdana;font-size:11px;line-height:15px;'><TR><td><a href='http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middle5/2401775_2394076/2397136/1?PARTNER=3&OAS_QUERY=null' target=new ><img src ='http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/2401775_2394076/creative_2397136.gif' alt='Ebay' border=0></a></td></TR></Table>