[gradsusr] color vectors by magnitude in grads

Jeffrey Duda jdduda at iastate.edu
Wed Apr 20 13:58:35 EDT 2011


Roopa,
Use a third argument when displaying your vectors that will actually be
colored.  In your case do "display uwind;vwind;mag(uwind,vwind).

Hope this helps.

Jeff Duda

On Wed, Apr 20, 2011 at 12:49 PM, Roopashree Shrivastava
<rss1901 at gmail.com>wrote:

> 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
>
>


-- 
Jeff Duda
Iowa State University
Meteorology Graduate Student
3134 Agronomy Hall
www.meteor.iastate.edu/~jdduda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110420/9bb54f55/attachment-0003.html 


More information about the gradsusr mailing list