gnuplot 文件
How to make gnuplot generate eps files instead of plot the figures on screen?
如何使gnuplot生成eps 文件而不是在屏幕上绘制图形?
First, save a Gnuplot plot as a PostScript file by this commands:
首先,通过以下命令将Gnuplot图另存为PostScript文件:
# gnuplot> load 'saveplot'
# gnuplot> !mv my-plot.ps another-file.ps
The saveplot
file’s content:
saveplot
文件的内容:
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:
然后,您可以使用工具将ps文件转换为eps文件。 在Linux上 ,您可以使用:
$ ps2epsi another-file.ps another-file.eps
Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。
翻译自: https://www.systutorials.com/how-to-make-eps-files-using-gnuplot/
gnuplot 文件