[gradsusr] color vectors by magnitude in grads

RafaelCB censi at epagri.sc.gov.br
Wed Apr 20 15:23:52 EDT 2011


Hello,
A demonstrative example!
###### uwind #########
'sdfopen uwnd10_2009.nc'
####### vwind ########
'sdfopen vwnd10_2009.nc'
'define u=uwnd.1'
'define v=vwnd.2'
'set arrscl 0.5 20'
'set gxout vector'
'd skip(u,1);skip(v,1);mag(u,v)'

Sincerely,
Rafael


2011/4/20 Roopashree Shrivastava <rss1901 at gmail.com>

> Dear all,
>  can anyone please tell me how to color vectors by magnitude in  a grads
> plot. If I change the color using set ccolor command then uniformly all the
> vectors get changed to the new color. i don't want that. A smaller magnitude
> should show a given color and a larger magnitude some other color etc.
>
> thanks is advance
>
> Warm regards
> Roopa
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Rafael Censi Borges
Téc.Meteorologia - Epagri/Ciram
+55 (48)3239-8064/8066
http://ciram.epagri.rct-sc.br/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110420/970d9a8e/attachment.html 


More information about the gradsusr mailing list