1

I have incorporate EPS file in the LaTeX, but the series are not shown properly. As in attached picture, the right is correct (shown by evince) and the left is what it looks in PDF generated by LaTeX. print screen

I used the following code to embed EPS in the PDF file. What is the possible reason for this? How to fix it?

 \begin{figure}[!ht]
 \begin{center}
 \includegraphics[width=4.5cm]{figures/p1-adversaries.eps}%
 \end{center}%\vspace{-0.15in}
 \caption{XXX}\label{exp:p1_adversaries}
 \end{figure}
Martin Scharrer
  • 262,582
Richard
  • 1,157
  • 1
    Try exporting your graph in pdf or png format from origin and insert in latex file. There are other replacements for originpro like qtiplot (http://www.cells.es/Members/cpascual/docs/unofficial-qtiplot-packages-for-windows) and scidavis (http://scidavis.sourceforge.net/) that provide export facility directly in to tikz code (Qtiplot). –  Apr 20 '12 at 21:21
  • By the way: Don't use {center} but \centering inside figures and tables. See Should I use center or centering for figures and tables? for an explanation. – Martin Scharrer Jul 11 '13 at 04:58
  • See whether trim = num1 num2 num3 num4 option works. I use this as this example shows a lot. \includegraphics[width=3.7in, height=3.8in, clip=true, trim = 85 0 0 0]{fig.eps} This can fix most of the bounding box issues. – Udita K. Jul 10 '13 at 16:48

1 Answers1

4

One solution will be to export your graph in to PDF or PNG format from origin and then insert it in your LaTeX file.

Also, you may consider using Qtiplot and scidavis both of which are freely available. Some of the Linux distributions have qtiplot within by default. Of these qtiplot allows you to export your graph directly into TikZ code, which one can \input in to the TeX file. From scidavis, you can export the graph into SVG files.

Martin Scharrer
  • 262,582