I am trying to customize the position of the legend in the axis environment of PGFplots. A simple way to do this is by using something like
legend pos=south west|south east|north west|north east
in the axis options. If none of the directions suffice, we can use
, again in the axis options. It is, however, a bit annoying and inefficient to get the correct position by trial and error. Furthermore, it is unclear to me where
is. It would help me if I would know what coordinates the 'legend pos' command uses. Then I would already know the proper offset from the axis and I would only have to adjust one of the coordinates a bit.
Does anybody know how you can retrieve the coordinates that 'legend pos' uses for an axis environment?
Thanks in advance! And many thanks to Till Tantau and Christian Feuersanger for TikZ/PGF and PGFplots!