From: Elias A. <eli...@gm...> - 2014-04-29 07:56:58
|
On 04/28/2014 10:16 PM, Ethan Merritt wrote: > There is no way to get * label in front of arrow in front of curve *, > because arrows are always drawn after labels. However, in desperation > you could use "plot '-' with vectors" to draw the arrow as the last > element of the plot using inline data for the arrow head and tail. Then > you can make the rectangle and the label both "front" and you should be > all set. FWIW, I adopted a different hack, splitting the arrow (which is really a ‘yzeroaxis’ in my plot) in two: set lab "|b|² ~ 1/4" at -2.2,4.5 tc ls 3 noenh set obj rect center 0,4.5 size char 1,char 1 fs solid noborder front set arr from 0, graph 0 to 0, graph 0.3 nohead front set arr from 0, graph 0 to 0, graph 1 nohead Though this may be less general as a solution. > FYI the development version allows you to draw a label in an opaque box > in a single operation: > set style textbox opaque > set label "foo" boxed Nice. That is what I was looking for :-). Thanks, Elias |