I'm trying to reproduce some examples from the pgfplot documentation, but \usepgflibrary{groupplots} does not succeed, while shapes does. In the documentation I can't find a hint if this feature is too new for my distribution, I have texlive-full in version 2009-15 ... is this too old?
The error message is pretty clear:
! I can't find file `pgflibrarygroupplots.code.tex'.
<argument> ...input pgflibrary\pgf@temp .code.tex
\catcode `\@ =\csname pgf@...
l.5 \usepgflibrary{groupplots}
But as I'm working collaborative with colleagues, installing a more recent version is not a solution.
EDIT
This is the code I try to compile.
\documentclass{minimal}
\usepackage{pgfplots}
\usepackage{tikz}
\usepgfplotslibrary{groupplots}
\begin{document}
\begin{tikzpicture}
\begin{groupplot}[
group style={
group name=my plots,
group size=2 by 2,
xlabels at=edge bottom,
ylabels at=edge left
},height=4cm, width=4cm]
\nextgroupplot
\addplot coordinates {(0,0) (1,1) (2,2)};
\nextgroupplot
\addplot coordinates {(0,2) (1,1) (2,0)};
\nextgroupplot
\addplot coordinates {(0,2) (1,1) (2,1)};
\nextgroupplot
\addplot coordinates {(0,2) (1,1) (1,0)};
\end{groupplot}
\end{tikzpicture}
\end{document}
Here's what I get:
! I can't find file `pgflibrarypgfplots.groupplots.code.tex'.
<argument> ...input pgflibrary\pgf@temp .code.tex
\catcode `\@ =\csname pgf@...
l.4 \usepgflibrary{pgfplots.groupplots}
(Press Enter to retry, or Control-D to exit)