[gradsusr] Problem in setting vrange for negative values -scatterplot

Maida Zahid maidazahid.pmd at gmail.com
Tue Jul 31 00:10:43 EDT 2012


Dear all,


  I am trying to draw scatter plot from two files. Following are the
commands which i have used to plot it.

xdfopen soilw.mon.mean.v2-2deg-197901-200512-JJAS.ctl
define cpc=ave(soilw,t=1,t=27)/100
xdfopen mrso_Lmon_bcc-csm1-1-2deg_historical_r1i1p1_197901-200512-JJAS.ctl
set dfile 2
define mod=ave(mrso,t=1,t=27)/100
set gxout scatter
set vrange -0.5 8
set vrange2 -2 20
d cpc;mod

output of this display is attached.
I am unable to set my axis for negative values.Every time it starts from 0
to positive values either I set the "vrange" to positive values or negative
values.
How can i solve this problem?

grads version and Os details are:
Grads version:Grid Analysis and Display System (GrADS) Version 1.9b4
Linux OS: Linux cslogin 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010
x86_64 x86_64 x86_64 GNU/Linux


Thanks in advance.

Regards
Maida Zahid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120731/c844823e/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: correlation.png
Type: image/png
Size: 5347 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20120731/c844823e/attachment-0003.png 


More information about the gradsusr mailing list