如何在gnuplot中绘制一个箭头,使其超过轴?

时间:2012-03-14 17:04:21

标签: gnuplot

我通过在plot命令之前设置它来在gnuplot中绘制一个箭头:

set arrow from graph -0.01, first cutOff-0.001 rto graph 0.02, first 0.002 lc rgb "blue" lw 5 nohead 
plot ...

但它出现在轴下(即在这种情况下,黑轴明显超过我的箭头线)。如何反转它,以便箭头(线)在上面?

1 个答案:

答案 0 :(得分:4)

我不确定我理解你的问题。对我而言,听起来你的轴是在箭头后面绘制的,所以轴与箭头相交的任何地方都显示为黑色(假定的轴颜色)而不是蓝色(箭头颜色)。如果是这种情况,您应该尝试将front添加到设置箭头命令。

e.g。

set arrow from graph -0.01, first cutOff-0.001 rto graph 0.02, first 0.002 lc rgb "blue" lw 5 nohead front