the nature of plot such absolute labels don't work; can't restrict range in y, wondered if there way either include label text inside key or have placed relative key (i.e. below)
set term png enhanced size 1024,768 set title "{/=15 1d title}\n - me" set xlabel "x" set ylabel "y" set label "v_0 = 10\n e = 1" #this bit want reposition set out 'trial.png' set xrange [-2.5:2.5] set arrow -2,-2000 -2,2000 nohead size screen 0.025,30,45 ls 1 set arrow 2,-2000 2,2000 nohead size screen 0.025,30,45 ls 1 plot 'data.dat' ps: also, there better way vertical lines @ x = -2 , x = 2? arrows solution again not ideal since y range greater or smaller 2000.
in gnuplot can use different coordinate systems set arrows, labels, key , objects. coordinates may specified as
first: value on left , bottom axes.second: value on right , top axes.graph: relative area within axes,0,0bottom left ,1,1top right.screen: relative entire canvas.character: depends on chosen font size.
with this, can set arrows in following way:
set arrow first -2,graph 0 first -2,graph 1 nohead ls 1 set arrow first 2,graph 0 first 2,graph 1 nohead ls 1 you don't need set size if don't have arrow head.
although did not understand label question, i'm sure solve these information different coordinate types:
set label "v_0 = 10\n e = 1" right @ graph 0.9, graph 0.8
Comments
Post a Comment