I have a pgfplot where the legend is right to the plot. I create the plot as follows:
\begin{axis}[
scale only axis,
xmode=log,
ymode=log,
width=7cm,
legend cell align=left,
legend pos=outer north east,
legend style={draw=none}
]
Now I would like to move the legend down below the plot. So I thought I have just to replace legend pos=outer north east
by legend pos=outer south west
. But LaTex does not like this idea: Choice 'outer south west' unknown in key '/pgfplots/le
. Whats wrong with this?
gend pos'
Best Answer
From section 4.8.5 of the manual, you can use
every axis legend
:Code: (partially from manual )
Instead of the
/.append style
, it is possible to uselegend style
as in the following example. It has the same effect.As percusse mentioned in comment, you can fine tune the position by
at={(axis description cs:0,-0.1)}
as in: