Is there a way to introduce parts of a tikzpicture with \pause or similar in Beamer without resorting to incrementally redrawing the tikzpicture over multiple frames?

Intercalating TikZ draw commands with \pause commands creates new frames, but introduces (or in my case, using \setbeamercovered{highly dynamic}, fades in) the entire tikzpicture, which sort of makes sense, as the interior of a tikzpicture is not the normal environment for \pause commands.

1 Answer
1

The easiest way to do this that I have found is to provide overlay specifications to the elements of the picture. The basic commands, \path, \draw, \node and so forth are all overlay-aware. The one thing to be ware of is that the bounding box might jump around a bit as different parts of the drawing are put in or taken out. However, once you're aware of that then it's easy to fix. Either specify the bounding box at the start (using the \useasboundingbox) or litter your drawing with lots of \coordinates which are there all the time but only use them on specific slides.

Here's a fairly detailed example with the \useasboundingbox technique.

My current method is essentially analogous to yours, except that I'm redrawing the tikzpicture with added material on new frames. I see that the reason why my pause was not working was because I was attempting to uncover an addplot, whereas it works perfectly well for my \draw elements as evinced by John Kitzmiller's example in the question Aaron linked. Anyhow, thanks for the example as \useasboundingbox is useful to me.
–
Richard TerrettMar 21 '11 at 10:08