A problem with eps figure [closed]

I caused a problem when writing an IEEE paper with latex, I use the IEEEtran.cls. When I run the latex with "latex"-->"dvi-pdf", it works well. However, if I run the latex with "dvi-ps"-->"ps-pdf", it has problems displaying those figures, many figures are blank.

And, my tutor told me that journals generate ps file first and then to pdf most of the time. So, I don't know how to solve this problem.

The eps figures are generated by Matlab directly.

The Matlab code to save the eps:

mkdir figure
savepath = [pwd,'\figure\'];
set(gcf,'paperpositionmode','auto');
saveas(gcf, [savepath,'fig1','.eps'], 'psc2')


The Latex code to include the eps:

\begin{figure}[tb!]
\centerline{\includegraphics[width=78mm]{fig1.eps}}
\label{fig1}
\end{figure}


An example of the eps figure is here: http://www.filedropper.com/fig-gain-alias

An example of the latex: http://www.filedropper.com/test_165

closed as unclear what you're asking by user36296, Stefan Pinnow, Phelype Oleinik, TeXnician, TroyMay 28 '18 at 15:10

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• We will need more information. Not everyone have access to Matlab. Can you post one of those eps files online and give us a link. Also complete your mwe, it is a lot easier to help if we have a full minimal example, not just a sniplet. – daleif Feb 20 '17 at 15:43
• Also update the code with something others can just copy and test as is without having to add anything. I cannot test today, not at pc – daleif Feb 20 '17 at 16:03

This minimal example works perfectly fine on my system. So the code is OK, as are the eps-files. I can only assume, that maybe your conversion programs do not work correctly. You need to call DviPs, followed by Ghostscripts ps2pdf.

\documentclass[twocolumn, 10pt, final] {IEEEtran}
\usepackage{graphicx}
\usepackage{epsf}
\usepackage{float}
\usepackage{stfloats}

\begin{document}

\begin{figure}[tb!]
\centerline{\includegraphics[width=78mm]{fig1.eps}}
\caption{Test.}
\end{figure}

\begin{figure}[tb!]
\centerline{\includegraphics[width=78mm]{fig-gain-Alias.eps}}
\caption{Test.}
\end{figure}

\end{document}