我在图中有一条水平线,在gnuplot中设置了以下终端:
set terminal postscript eps size 8.5cm, 7cm enhanced color font 'Helvetica,10'
set style line 5 lt 2 lc rgb "black" lw 3
f(x)=5.0
plot f(x) w l ls 5
线条宽度还可以,但是虚线的长度太短了。如何才能在不将终端模式更改为虚线的情况下增加它?
我有以下Gnuplot脚本:
set label "Threshold" at first 1.03, first -15
set arrow from graph 0,first -13 to graph 1, first -13 nohead lt 0 lw 5
plot [1:12][] pot_t(x) t "up" w lines ls 1
图为:
水平线在-13。
如果我在脚本中添加第二个情节
plot [5:20][] pot_t(x) t "up" w lines ls 1
水平线arrow和label仍