How to control legend position with PGFPlotsX

PetrKryslUCSD
Fri, 24 Aug 2018 22:57:53 +0000
Visualization

If I do

@pgf p = Axis({
                xlabel = "Distance  [m]",
                ylabel = "Temperature [degree Kelvin]",
                title = "",
                legend  = "pos south east"
            },
            …
            );

I get

PGFPlotsX.print_tex(p)
\begin{axis}[xlabel={Distance  [m]}, ylabel={Temperature [degree Kelvin]}, title={}, legend={pos south east}]
    \addplot[color={red}, mark={x}]

but I need legend pos =south east . Has anyone solved thisalready? Would you share?

11 posts - 5 participants