【问题标题】:Gnuplot export eps fileGnuplot导出eps文件
【发布时间】:2014-01-06 05:09:42
【问题描述】:

我有大量的数据点——excel 等处理的太多了,所以我正在使用 gnuplot。问题是我想稍后在 LaTeX 中包含图表。我知道我可以截取 PNG 屏幕截图并将其包含在内,但我宁愿导出 EPS 文件。我该怎么做。

如果它很重要,这就是我正在绘制的:

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

【问题讨论】:

    标签: latex gnuplot eps


    【解决方案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
    

    【讨论】:

    • 如果你使用pdflatex,你可以使用pdfcairo。或者,为了包含在 LaTeX 文档中,终端 epslatexcairolatex epscairolatex pdflua tikz 也可以。他们都有自己的优点/缺点。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-12-19
    • 2021-02-02
    • 1970-01-01
    • 2023-03-20
    • 1970-01-01
    • 2011-07-05
    • 1970-01-01
    相关资源
    最近更新 更多