There are different coordinate systems which you can use to place labels (see help coordinates
in the interactive terminal):
first
, uses the first axis (x, y) as referencesecond
, uses the second axis (x2, y2) as referencescreen
, relative to the canvas sizegraph
, relative to the plot sizecharacter
, in character units.
So the best way to get an absolute location inside the plot is with graph
:
set label "FooBar" at graph 0.2, 0.2
You can also mix the coordinate systems:
set label "FooBar" at graph 0.2, screen 0.5