【发布时间】:2022-10-23 14:24:22
【问题描述】:
我有以下sn-p:
set grid
set xlabel "Entropy"
set ylabel "Amortized work"
set xrange [-0.05:1.05]
set style line 1 linecolor rgb '#516db0' linetype 2 linewidth 5
f(x) = -1.3973 * x ** 2 + 1.3947 * x + 0.5796
F = '$-1.3973 x^2 + 1.3947 x + 0.5796$'
set terminal cairolatex pdf input size 700,700 color colortext
set key opaque box lc "black" linewidth 3
plot 'RatioVerboseData.dat', f(x)
set output
数据文件RatioVerboseData.dat 如下所示:
0.93070 0.290710
0.94060 0.281450
0.95050 0.254771
0.96040 0.241656
当我使用 gnuplot 运行脚本时,它会输出:
plot 'RatioVerboseData.dat', f(x)
^
cairolatex terminal cannot write to standard output
"EntropyVerboseData.plt", line 15: util.c: No error
我使用 gnuplot 4.6.7 和 MiKTeX-pdfTeX 4.10 (MiKTeX 22.7)
【问题讨论】: