to draw average function on grads window

Eric Altshuler ela at COLA.IGES.ORG
Fri May 30 12:15:16 EDT 2008


Hello Anushri,

You can use the 'set vrange' command to set the range of the y axis. Decide what range you want it to have (e.g. y1 to y2), then do:

set vrange y1 y2

and then display your averages. They should all plot with the same range on the y axis. To clear the range setting, just use a 'clear' command.

Best regards,

Eric L. Altshuler
Assistant Research Scientist
Center for Ocean-Land-Atmosphere Studies
4041 Powder Mill Road, Suite 302
Calverton, MD 20705-3106
USA

E-mail: ela at cola.iges.org
Phone: (301) 902-1257
Fax: (301) 595-9793

----- Original Message -----
From: "anushri dutta" <anushridutta01 at GMAIL.COM>
To: GRADSUSR at LIST.CINECA.IT
Sent: Friday, May 30, 2008 6:06:16 AM GMT -05:00 US/Canada Eastern
Subject: to draw average function on grads window

hi all,
i am a new grads user, and my question is that,
on drawing many averages curve
on the same grads window,

for example

set x 1
set y 1
set z 1
set t 1 12
avg=aave(temp,x=1,x=282,y=1,y=181)
d avg

and further

set x 1
set y 1
set z 15
set t 1 12
avg=aave(temp,x=1,x=282,y=181)
d avg

on drawing the two avg curve for
different levels, months are same alon the x axis,
but the temp. ranges are ovelapping to each other along the
y axis, then how can
draw the two or more averages curve on the same grads window,
without overlapping,

please give me the idea,


with regrards
anushri



More information about the gradsusr mailing list