Scatter diagram

Davide Sacchetti davide.sacchetti at ARPAL.ORG
Wed Feb 15 06:25:55 EST 2006


no chance to do it directly.

do like this:

'set x 1 10'
'set y 1 10'
it=0;while(it<10);it=it+1;'set t 'it
 iz=0;while(iz<10);iz=iz+1;'set z 'iz
  'd t;s'
 endwhile
endwhile

before doing this you should find min and max of t,s, in order to set
axis range (set vrange and set vrange2)


hoping it helps ...
bye bye
davide



On Tue, 2006-02-14 at 18:00 +0100, Boyin Huang wrote:
> Can grads draw scatter diagram using 4-D data?
>
> Assuming I have T(x,y,z,t) and S(x,y,z,t)
>
> If I fix z and t,
> set x 1 10
> set y 1 10
> set t 1
> set z 1
> I can draw the scatter diagram using 'd t; s'
>
> What I want is
> set x 1 10
> set y 1 10
> set t 1 10
> set z 1 10
> 'd t;s'
>
> but grads prompts
> Operation error:  Invalid dimension environment
>   Looping dimension does not vary
>
> Any suggestions? Thanks.
--
Sacchetti Davide
ARPAL UO3 Centro Meteo Idrologico Regione Liguria - Dir. Scientifica
P.za Vittoria 15 16121 Genova (I)
tel: +39 010 6437535
mail: davide.sacchetti at arpal.org   web: www.meteoliguria.it



More information about the gradsusr mailing list