2
4

2 回答 2

1

another option is to use 'inline data'

plot sin(x) w lines, '-' w p pt 7 ps 5
   3.14 0
e
于 2012-04-28T18:13:37.750 回答
1

尝试类似:

set terminal postscript enhanced color
set output 'plot.eps'

set xr[-10:10]
set yr[-2:2]
plot sin(x), \
 "<echo '3.141592 0'" pt 7 ps 2 notitle

逗号允许您在同一个图中绘制多个事物。这样你必须手动指定范围和点位置,但它在 gnuplot 4.6 的绘图脚本中对我有用。

于 2012-04-26T12:15:29.243 回答