Animation control

W Wang wleftower at YAHOO.COM
Sat Nov 26 11:47:07 EST 2005


Hi,
I am new user. I have a follow-up question about
animation. How should I save the animation (movie) to
a file that can be inserted into POWERPOINT?
thanks
--- Binh Trong Do <dtbinh at LIVERPOOL.AC.UK> wrote:

> Hi Dave and Eric,
> Thank you very much for your help.  It does work
> very well and has
> solved my problem.
> cheers
> Binh
>
>
> Dave Allured wrote:
>
> > Thank you, Eric.
> >
> > Since Inquiring Minds Need To Know,  I looked into
> how xanim.gs does the
> > time delay.  A shell command is used:
> >
> >    '!sleep ' sec
> >
> > where sec is a script variable containing the
> desired delay in seconds.
> > You could use either a constant or a variable in
> this command.
> >
> > Here's the source location for the whole script.
> The time delay is at
> > the end of the big loop:
> >
> >   ftp://grads.iges.org/grads/scripts/xanim.gs
> >
> > --Dave
> >
> > Eric DeWeaver wrote:
> >
> >> 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
> >>>>
> >>>>
>





__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com



More information about the gradsusr mailing list