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

Muhammad Afzaal afzaalkarori at gmail.com
Tue Jul 31 23:45:44 EDT 2012


Dear Maida

Following link would be useful for you;

http://cookbooks.opengrads.org/index.php?title=Recipe-009:_Scatter_plot_with_linear_fit_and_basic_statistics



MUHAMMAD AFZAAL KARORI

Institute of Atmospheric Physics
Chinese Academy of Sciences
Beijing, China

Pakistan Meteorological Department
Islamabad - Pakistan


On Tue, Jul 31, 2012 at 12:10 PM, Maida Zahid <maidazahid.pmd at gmail.com>wrote:

> 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
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120801/eac430a4/attachment-0003.html 


More information about the gradsusr mailing list