gnuplot - place label aligned to right, at certain y coordinate? -
i need place label @ right, above of fitted average horizontal rule. have y-coordinate of rule, don't know coordinate of right border of graph.
i saw, use at graph 0.5,0.8 syntax, if horizontal rule fixed, isn't.
you can use different coordinate systems x , y values. available coordinate systems are:
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.
so, if x-value should relative graph, use graph 0.5, y-value can use first yval:
set label @ graph 0.5, first yval+ofs here, yval y-value of horizontal line, , ofs offset in order displace label bit.
Comments
Post a Comment