looping a line plot
Charles Seman
Charles.Seman at NOAA.GOV
Tue Jan 15 16:51:49 EST 2008
Sara,
Check out the "Example script" on page 2:
http://grads.iges.org/grads/gadoc/reference_card_scl.pdf
I hope this helps,
Chuck
Rauscher Sara A wrote:
> Hi Richard,
> Thanks, but I know how to make an animation in grads - I have copied an
> example I have used successfully below if anyone else needs such a
> script or example. What I need to do is to animate a XY plot, not a 2-D
> or shaded contour plot - how do I set the dimensions to do this? Is this
> possible?
> sara
>
>
> ti = 1
> while (ti < 4)
> 'c'
> 'set t ' ti
> 'set gxout shaded'
> * Force contour levels to stay fixed in every frame.
> 'set clevs 0 10 20 30 40 50 60 70 80 90 100 110'
> 'set ccols 9 14 4 11 5 13 3 10 7 12 8 2 1 '
> 'd precip'
> 'run cbar.gs'
> 'printim frame'ti'.png'
> ti = ti + 1
> endwhile
>
> (Unix:) convert -delay 30 frame1.png frame2.png frame3.png out.gif
>
>
>
> Ricardo Hallak wrote:
>
>> Hi Sara,
>>
>> an animation is make up of several individual figures. First, you have to
>> build the individual figures with GrADS (say, saving them in .gif or .jpg
>> formats). Second, the animation should be properly handled with an extra
>> program, any animation wizard program. You can use some freeware or
>> shareware program that will animate your sequence of figures and save it in
>> some animation format supported by Powerpoint (say, .avi).
>>
>> You can start looking the internet for "gif animation" or something like
>> that.
>>
>> Regards,
>> Ricardo
>>
>>
>>
>
> --
>
> Dr. Sara A. Rauscher
> Earth System Physics Section
> The Abdus Salam International Centre for Theoretical Physics
> Strada Costiera 11
> 34014 Trieste ITALY
> ph: +39 040 2240 225 fax: +39 040 2240 449
> email: srausche at ictp.it
>
--
Please note that Charles.Seman at noaa.gov should be considered my NOAA
email address, not cjs at gfdl.noaa.gov.
********************************************************************
Charles Seman Charles.Seman at noaa.gov
U.S. Department of Commerce / NOAA / OAR
Geophysical Fluid Dynamics Laboratory voice: (609) 452-6547
201 Forrestal Road fax: (609) 987-5063
Princeton, NJ 08540-6649 http://www.gfdl.noaa.gov/~cjs/
********************************************************************
"The contents of this message are mine personally and do not reflect
any position of the Government or NOAA."
More information about the gradsusr
mailing list