# Getting error while inserting image

I am trying to insert a image which is in .eps format from my computer into latex file. But I always get an error if I add the scale part but works fine without scale. Here is my code below.

Works fine:

    \begin{figure}
\centering
\includegraphics{Plot1}
\caption{Sales vs Assets}
\end{figure}


Doesn't work fine:

\begin{figure}
\centering
\includegraphics[scale=.8]{Plot1}
\caption{Sales vs Assets}
\end{figure}

• What's the error? – egreg Sep 3 '12 at 23:58
• Overfull \hbox.. – Teja Sep 4 '12 at 0:13
• Try to use \fbox{\includegraphics{}} to see the size of the bounding box of you picture. By the way, \overfull is not an error, but only a warning. – Sigur Sep 4 '12 at 0:18
• But the problem is my image is not coming completely in the pdf.How do I scale it? – Teja Sep 4 '12 at 0:29
• Run away argument is one more err – Teja Sep 4 '12 at 0:31

\usepackage{graphics}

\usepackage{graphicx}

that extends package graphics and changes the syntax of \includegraphics to support key value options in the optional argument.