Hi Florian,

I am unaware of any problems as long as you do not externalize or reference the legends somewhere else. Note that the external library would probably run into problems in these cases.

Kind regards

Christian

Am 28.02.19 um 12:55 schrieb Florian Lindner:
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
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

--

Dr. Christian Feuersänger
Rheinbach



_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to