2012-03-14 103 views
3

我plot命令之前設置它附圖中的gnuplot箭頭:如何在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 ... 

但它出現在軸下(即,黑色軸是明顯超過我的箭頭 - 在這種情況下線)。我怎樣才能扭轉它,使箭頭(線)在上面?

回答

4

我不完全確定我理解你的問題。對我來說,聽起來您的軸正在箭頭後面繪製,所以軸與箭頭相交的任何位置都會顯示爲黑色(假定的軸顏色),而不是藍色(箭頭顏色)。如果是這種情況,您應該嘗試將front添加到您設置的箭頭命令中。

例如

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

這正是我所追求的,歡呼!!!!!!! – Grzenio 2012-03-15 09:42:34