I have a large graph that I have saved in .eps. However, my result text turns my PC slow when reading these big graphs. My CPU usage on the pdf reader process goes to 20% every time my screen hits these graphs. The result text pdf is very large in size too. This problem occurred generating the graph as eps and png.
This way, I've generated the graph again in png and converted it back to .eps using Inkscape, resulting in a small image. But now, when I try to include this new .eps I receive the error "!File ended while scanning use of @subfloat."
Converting the eps to pdf, using the epstopdf package works. But I would like to know the reason my converted eps does not work as well. I am assuming that .eps has a better resolution than this pdf. Am I right?
Example:
\usepackage{epsfig,subfigure,amstext}
\begin{document}
\begin{figure*}[h]
\centering
\subfigure[London]{
\label{fig:dist1}
\includegraphics[width=.4\textwidth]
{graphs/distLA.eps}%
\subfigure[Los Angeles]{
\label{fig:dist2}
\includegraphics[width=.4\textwidth]
{graphs/distLondon.eps}%
\caption{The distance distribution between the sequential check-in region center and POI in two cities.}
\label{fig:dist}
\end{figure*}
\end{document}