## How do i get nice .eps images into latex

### DoVile Last Name: (view profile)

on 17 Jul 2012
Accepted Answer by DoVile Last Name:

### DoVile Last Name: (view profile)

I of course know how to print a plotted image into a .eps file using file>SaveAs, however when i actually create the .pdf file in LaTex it removes the left parts of the plot(about 4 cm).
I think it is a Matlab problem since i havent had this issue before when using .eps files, but to be thorough the latex code is shown here:
\begin{figure}[ht]
\begin{center}
\includegraphics[width=16cm, height=7cm,angle=0]{afsnit/states.eps}
\end{center}
\caption{Estimated states}
\label{states}
\end{figure}
Thanks!

### DoVile Last Name: (view profile)

on 17 Jul 2012

Turns out all i needed to do was to go from tex->ps->pdf rather than tex->DVI->pdf
Thanks for answers though guys! :)

### Yash (view profile)

on 17 Jul 2012

\begin{figure} \begin{center} % Requires \usepackage{graphicx} \includegraphics[width=3.25in]{4}\\ \caption{Confusion Matrix Of Prediction Outcomes}\label{Table 1} \end{center} \end{figure}
the name of the figure is 4 and i have the eps format of the figure as well as the jpg format of the figure then will plot and do not inlcude the extension of the picture lile .eps, do not include that.

### Yash (view profile)

on 17 Jul 2012

\begin{figure}
\begin{center}
% Requires \usepackage{graphicx}
\includegraphics[width=3.25in]{4}\\
\caption{Confusion Matrix Of Prediction Outcomes}\label{Table 1}
\end{center}
\end{figure}