1
votes

I make plots using gnuplot by

set term postscript eps color blacktext "Helvetica" 24
set output "filename.eps"

However, when I include the eps file in latex file, the quality of eps is not satisfactory.

I have also searched google a lot and saw some sites such as http://www.cs.cityu.edu.hk/~tanrui/eps.html, however, my figures are more complicated that theirs and hence their commands don't help me fully. I also checked GNUPLOT: Trying to increase the quality but my figures are eps, not pdf.

Can someone tell, how to improve the quality of figures.

2
Is the quality unsatisfactory as an eps file already or only in the final, Latex-compiled document. Please specify what exactly the problem is. - simmmons
Thanks. After inclusion into latex, the quality is not good: fine details seem to be lost. On seeing eps itself with evince, it looks fine. - user984260
How are you compiling the latex? Are you using pdflatex or regular latex? - mgilson
I used latex to compile. - user984260
Maybe it's a problem of the pdf-viewer (i.e. the interpreter of the vector-graphic). I also use dvipdf together with gnuplot/latex and did not see any lost of quality - Raphael Roth

2 Answers

2
votes

you can try to increase the output resolution, for example:

set term postscript eps size 1024, 720 color blacktext "Helvetica" 24

Then use maximum figure width in latex

includegraphics[width = \paperwidth]{yourfigurefilepath}
-2
votes

I think this answear might help: https://stackoverflow.com/a/7584726/2584653 (you just need to use "eps" instead of "png" for the final file). Actually this is something I usually use.