Hi all, I'm using groupplot because it is really easy to draw things like an arrow between two plots. However, I also need to use the external library. Now I tried to create a legend outside of an axis but this does not work as long as I'm using the external library. Here is a minimal example:
\documentclass{minimal} \usepackage{pgfplots} \usetikzlibrary{pgfplots.groupplots} \pgfplotsset{compat=1.3} %\usepgfplotslibrary{external} %\tikzexternalize \begin{document} \centering \begin{tikzpicture} \begin{groupplot}[group style={group size=2 by 1, horizontal sep=2cm}] \nextgroupplot[legend entries={a;,b}, legend to name=named, ] \addplot {x}; \addplot {x*x}; \nextgroupplot[xmin=1, xmax=2] \addplot {x}; \addplot {x*x}; \end{groupplot} \draw[thick,black,->,shorten >=20pt,shorten <=2pt] (group c1r1.east) -- (group c2r1.west); \end{tikzpicture} \\ \ref{named} \end{document} If you uncomment the two lines then you will get an compile error. Does someone has an idea how to circumvent this? 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