Animation control

Eric DeWeaver deweaver at AOS.WISC.EDU
Fri Nov 25 14:46:12 EST 2005


Hi Binh,

Sometimes I use the pull command, but there's also a script called
xanim.gs in the grads script library (often found in, say,
/usr/local/grads/lib/scripts) which animates plots.  You run
it from withing grads, and you can use -sec and -repeat options
to add a time delay in seconds and loop through the animation
several times.  The usage notes are provided in the script file
itself.

Best Wishes,

Eric



On Fri, 25 Nov 2005, Dave Allured wrote:

> Binh,
>
> I don't know about an automatic timer in Grads.  If there is not
> something built in, and you are using a Grads script, then you could
> certainly use the !shell-command and some external program to introduce
> a short time delay between frames.
>
> For this purpose, I like to have manual control using the keyboard.  Use
> the pull command to read a dummy string between each frame.  Then you
> just press the Enter key for each new frame.  You can also check for
> certain keys such as "f" and "b" to go forward and backward in your
> animation.
>
> http://grads.iges.org/grads/gadoc/script.html#standardio
>
> --Dave A.
> CDC/PSD/NOAA/CIRES
>
> Binh Trong Do wrote:
>
> > Hi All,
> > Has anybody know how to control animation speed when using double
> > buffering?  I would like to have some delay when swaping pictures that
> > help people have enough time to see what happening on the screen.
> > Thank you very much
> > Binh
> > Postgraduate research student
> > Department of Earth and Ocean Sciences
> > Liverpool University, UK
>



More information about the gradsusr mailing list