我试图使用以下代码使用gnu图创建一个EPS文件:
set terminal postscript eps enhanced
set output 'file.eps'
plot 'mydata.dat' using 1:2
replot
quit但徒劳无功,EPS文件中没有任何情节。我不知道我错过了什么,我有幽灵脚本,幽灵脚本-字体和psutils。EPS文件只是空的白色文件。我已经在网上搜索过了,但是没有什么是有效的。
如何生成包含图形的EPS文件?
规格: Fedora 21 x64_86 gnuket-4.6修补程序5幽灵脚本9.15
发布于 2015-11-22 03:32:12
好的,我现在已经解决了,看来幽灵脚本和无穷大之间有冲突,所以我卸载了它。
sudo yum remove *infinality*还有维奥拉!现在一切都好!)
发布于 2015-11-21 17:09:54
"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。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。

https://stackoverflow.com/questions/33845513
复制相似问题