How to make eps files using gnuplot

How to make gnuplot generate eps files instead of plot the figures on screen?

asked Feb 17, 2014 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

First, save a Gnuplot plot as a PostScript file by this commands:

#  gnuplot>   load 'saveplot'
#  gnuplot>   !mv my-plot.ps another-file.ps

The saveplot file's content:

set size 1.0, 0.6
set terminal postscript portrait enhanced mono dashed lw 1 "Helvetica" 14 
set output "my-plot.ps"
replot

set terminal x11
set size 1,1

Then you can convert the ps file to eps file by tools. On Linux, you can use:

$ ps2epsi another-file.ps another-file.eps
answered Feb 17, 2014 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...