looping a line plot
Matt Georgescu
matt1 at CEP.RUTGERS.EDU
Tue Jan 15 06:59:13 EST 2008
Dear Sara,
I think you mean to say that you want to plot a time series?
If so, your script is just about right. I'll just amend it for ease of
reference:
set t 1 12
set x 1
set y 1
set grads off
set vrange 0 10.5 *[you want to do this before the display]
**This is the command you are looking for: tloop
d tloop(aave(p5,lon=267,lon=282,lat=9,lat=22)
for more on tloop check here:
http://grads.iges.org/grads/gadoc/gadocindex.html
matt
On Tue, 15 Jan 2008, Rauscher Sara A wrote:
> Hi,
> I am trying to produce a plot for powerpoint in which the values for a
> line plot are looped, i.e., the line is drawn gradually for each time
> step. I tried using "set looping on" but this just resulted in the
> values printing to screen. A simplified version of my script is pasted
> below - c5 is the variable I want to animate. Is there any way to do
> this? Thanks for your help.
> sara
>
> set t 1 12
> define c5 = aave(p5,lon=267,lon=282,lat=9,lat=22)
> set grid off
> set x 1
> set y 1
> set vrange 0 10.5
> set grads off
> set xlab off
> set ylpos 0 l
> set cthick 6
> set ccolor 1
> set cmark 0
> d c5
>
>
> --
>
> 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
>
More information about the gradsusr
mailing list