CORRELATION

Bakshi Vaid bhv at TROPMET.RES.IN
Wed Sep 19 02:15:21 EDT 2007


Dear All,

I need to get the correlation of two variable in spatial plot. I tried below but it
only gives index type correlation. Is there any way to correlate the complete spatial
domain of variable with complete spatial domain  another.

> > > >'open WS.ctl'
> > > > 'open SST.ctl'
> > > > 'set mproj scaled'
> > > > 'set grads off'
> > > > 'set grid off'
> > > > 'set gxout shaded'
> > > > **'define zave = ave(t,t=425,t=516)'
> > > > 'set x 1'
> > > > 'set y 1'
> > > > 'set z 1'
> > > > 'set t 1 460'
> > > > 'define var1 = aave(t,lon=60,lon=85,lat=-10,lat=-3)'
> > > > 'set lon 40 121'
> > > > 'set lat -25 25'
> > > > 'set z 1'
> > > > 'set t 1'
> > > > 'set gxout shaded'
> > > > 'set clevs -0.8 -0.6 -0.4 -0.2 -0.1 0 0.1 0.2 0.4 0.6 0.8'
> > > > 'set ccols 0 9 14 4 11 5 13 3 10 7 12 8 2 6'
> > > > 'd tcorr(t, t.2, t=1, t=460)'

Thank you very much in advance.

Vaid.



More information about the gradsusr mailing list