0
我有大量的數據點 - 太多的Excel等處理,所以我使用gnuplot。問題在於我想稍後將圖形包含在LaTeX中。我知道我可以使用PNG屏幕截圖幷包含該屏幕截圖,但我寧願導出EPS文件。我該怎麼做呢。Gnuplot導出eps文件
在如此重要的情況下,這是我策劃:
plot "ATWNetwork.stats" using 1:2 with linespoints ls 2 pt 2 lc 2
我有大量的數據點 - 太多的Excel等處理,所以我使用gnuplot。問題在於我想稍後將圖形包含在LaTeX中。我知道我可以使用PNG屏幕截圖幷包含該屏幕截圖,但我寧願導出EPS文件。我該怎麼做呢。Gnuplot導出eps文件
在如此重要的情況下,這是我策劃:
plot "ATWNetwork.stats" using 1:2 with linespoints ls 2 pt 2 lc 2
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
你可以,如果你正在使用'pdflatex'使用'pdfcairo'。或者,爲了包含在LaTeX文檔中,終端'epslatex','cairolatex eps','cairolatex pdf','lua tikz'也很好。他們都有自己的優點/缺點。 – Christoph