Gnuplot导出eps文件

时间:2013-12-18 06:29:59

标签: latex gnuplot eps

我有大量的数据点 - 对于excel等来说太多了,所以我正在使用gnuplot。问题是我想稍后在LaTeX中包含图形。我知道我可以拍摄PNG截图并包含它,但我宁愿导出一个EPS文件。我该怎么做。

如果重要,我正在密谋:

plot "ATWNetwork.stats" using 1:2 with linespoints ls 2 pt 2 lc 2

1 个答案:

答案 0 :(得分:1)

gnuplot> set term postscript eps color blacktext "Helvetica" 24
Terminal type set to 'postscript'
Options are 'eps noenhanced defaultplex \
   leveldefault color blacktext \
   dashed dashlength 1.0 linewidth 1.0 butt noclip \
   nobackground \
   palfuncparam 2000,0.003 \
   "Helvetica" 24  fontscale 1.0 '
gnuplot> set output "filename.eps"
gnuplot> plot "ATWNetwork.stats" using 1:2 with linespoints ls 2 pt 2 lc 2
gnuplot> set output
gnuplot> quit