Hello,
when I use a separated legend, I always do it like that:
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
legend to name=leg:foo]
[...]
\end{axis}
\end{tikzpicture}
\ref{leg:foo}
\end{figure}
I never use \ref{leg:foo} outside of the same figure it was created. In this
case, is it a problem to reuse the same name, e.g., leg:foo for every plot?
Best Thanks,
Florian
_______________________________________________
Pgfplots-features mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pgfplots-features