> I have plotted six data lines but all the line labels appears on top of the data lines.
> I don't want to enlarge the scale on y-axis just to move labels away from the lines.
> Is it possible to move the line labels out of the plotting region? Or move the labels occur on
> the top left corner of the plotting region would do?
> Thanks in advance
SHORT ANSWER: gnuplot> set k o (enter)
You should maybe distinguish between *labels* and *keys*. LAbels you put
using 'set label "mylabel" at x,y" and with x,y (or x,y,z) you control
exaclty their position. So I suppose you talk about keys, those things
that tell you what is what when more curves or datasets are on the same
graph. By default theu are the same as the name of the datafile you
plot, but can be set using 'title' when plotting:
plot "file1.dat" title "the first"
plot "file2.dt" title the second"
will produce the effect: ------- the first
- - - - the second
or the like somewhre in the plot.
This somewhere is controlled by 'set key' commands, with the
self-evident arguments 'bottom', 'top', 'right', 'left' and the one you
look for, 'outside'. There is no 'inside' argument, just do 'set key' if
you want to bring keys back inside of the plot. Long keynames don't look
good on the side, better 'top' or 'bottom' (e.g. 'set key outside bottom
right', or 'set k o b r').
Cheers and good luck,