How can I draw an arrow in gnuplot so that it is on the axis?

I am drawing an arrow in gnuplot by setting it before the plot command:

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

      

but it appears below the axis (i.e. the black axis is visible above my arrow line in this case). How can this be changed so that the arrow (line) is higher?

+3


source to share


1 answer


I'm not entirely sure I understand your question. To me it sounds like your arrow is drawn after the arrow, so wherever the axis crosses the arrow, black (the assumed axis color) appears instead of blue (the arrow color). If so, try adding set front

to the arrow command.

eg.



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

      

+4


source







All Articles