\documentclass{article}
\usepackage{graphicx}
\usepackage{epstopdf}
\begin{document}
\begin{figure}
\begin{center}
\includegraphics{test2.eps}
\end{center}
\end{figure}
\end{document}
\documentclass{article}
\usepackage{graphicx}
\usepackage{epstopdf}
\begin{document}
\begin{figure}
\begin{center}
\includegraphics{test2.eps}
\end{center}
\end{figure}
\end{document}