Gnuplot 创建空的 eps 文件

Gnuplot creates empty eps file

我正在尝试使用以下代码使用 gnuplot 创建 EPS 文件:

set terminal postscript eps enhanced
set output 'file.eps'
plot 'mydata.dat' using 1:2
replot
quit

但是没有用,EPS文件里面没有任何情节。我不知道我错过了什么,我有 ghostscript、ghostscript 字体和 psutils。 EPS 文件只是空的白色文件。我在网上搜索过,但没有任何效果。

如何生成带有绘图的 EPS 文件?

规格: 软呢帽 21 x64_86 gnuplot-4.6 补丁 5 ghostscript 9.15


"conf" :

set terminal postscript eps enhanced
set output 'file.eps'
plot 'mydata.dat' using 1:2 with linespoints
replot
quit

您还需要文件 mydata.dat 的一些数据,示例来自 http://lowrank.net/gnuplot/datafile2-e.html , ref. https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=gnuplot+plot+file

#  X     Y1    Y2
1.0   0.0   0.1
2.0   0.0   0.1
3.0   0.0   0.1
4.0   0.1   0.2
5.0   0.6   0.4
6.0   1.0   0.9
7.0   1.2   1.7
8.0   1.3   2.4

$ gnuplot conf : 好的,一个不错的情节,file.eps .


好的,我现在已经解决了,看来ghostscript和infinality有冲突所以我卸载了

sudo yum remove *infinality*

还有中提琴!现在一切正常! :)