Hi Stefan,
its good to see that you found a satisfactory solution! I remember that you
can use the preamble configuration
\pgfplotsset{
invoke before crossref tikzpicture={\tikzexternaldisable},
invoke after crossref tikzpicture={\tikzexternalenable},
}
to do that sort of thing *automatically*. The 'invoke before' - thing is
invoked just before the \ref is resolved, and the 'after' thing directly
afterwards.
Best regards
Christian
2010/10/11 Stefan Schulze Frielinghaus <ste...@seekline.net>
> Hi Stefan,
>
> the trick with enabling and disabling externalization works perfectly
> fine. Thanks for your help!
>
> Regards,
> Stefan
>
> On Mo, 2010-10-11 at 09:46 +0200, Stefan Pinnow wrote:
> > Hello Stefan,
> >
> > the problem has nothing to do with the groupplots. The error comes
> from the
> > "outside legend". Here my mimimal example showing the problem:
> >
> > % ----- minimal example -----
> > \documentclass{minimal}
> > \usepackage{pgfplots}
> > \pgfplotsset{compat=newest}
> > \usepgfplotslibrary{external}
> > \tikzexternalize
> > \begin{document}
> > \begin{tikzpicture}
> > \begin{axis}[
> > legend entries = a,
> > legend to name = named,
> > ]
> > \addplot coordinates { (0,0) (1,1) };
> > \end{axis}
> > \end{tikzpicture} \\
> > \tikzexternaldisable % <-- comment me to show the error
> > \ref{named}
> > \tikzexternalenable
> > \end{document}
> > % ---------------------------
> >
> > So to circumvent the problem for now you could just exclude the
> "outside
> > legends" from externalization as shown above until the problem is
> fixed.
> >
> >
> > Best regards
> > Stefan
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Pgfplots-features mailing list
> Pgfplots-features@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features