[R] problem with grid animation
Paul Murrell
p.murrell at auckland.ac.nz
Sun Nov 13 20:53:37 CET 2005
Hi
Zepu Zhang wrote:
> I'm trying to do animation with grid. Basically it's a vector field, like what 'quiver'
> in Matlab creates. I need to update it with grid.edit(). It seems grid erases the
> whole thing first, then redraws. Therefore the evident 'flash' between frames.
Correct.
> Any way to avoid this flash? Thanks.
There are a couple of ways, but unfortunately they may not be to your
taste ...
1) Use windows (where double-buffering has been implemented)
2) Find some way to convince someone to modify the X11 device (or
whichever device you are using) to support double-buffering
3) Provide a patch for the X11 device yourself ...
Paul
--
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/
More information about the R-help
mailing list