PGF-04-005: Clip a repeated field

Unpack and run twice from this directory (the second pass resolves shared legends):
pdflatex -no-shell-escape -interaction=nonstopmode -halt-on-error -file-line-error -recorder PGF-04-005.tex
pdflatex -no-shell-escape -interaction=nonstopmode -halt-on-error -file-line-error -recorder PGF-04-005.tex

Requires TeX Live or MiKTeX with standalone, TikZ and PGFplots.
The TeX source and declared inputs are also embedded in the figure PDF.
