When working with pgf-tikz, I can create overlays in beamer presentations with
\path<overlay specification> ...
However, I could not get this to work in pgfplots graphics. It would be nice if something like
\addplot<2-> {...};
worked as expected, but it does not. Any ideas?

\draw,\path, and\nodeare overlay-specification-aware, but\addplotcomes from another package built on top of pgf and isn't.\onlyworks because it either includes or throws away its argument, whereas\uncoverwill try to set it in invisible ink, which it's not set up to do within a tikzpicture. The only drawback of\onlyover\uncoveris you might need to manually correct the bounding box. – Matthew Leingang Dec 06 '10 at 19:57