[gradsusr] Problem: no color when I plot winds
Jeff Duda
jeffduda319 at gmail.com
Tue May 13 01:08:49 EDT 2014
Daniel,
You can color the vectors by adding a third argument to the display
command.
'd skip(u.1,25);skip(v.2,25);mag(u.1,v.1)'
For example, this would color the vectors according to the magnitude of the
wind. You can use any field you want, though.
Jeff Duda
On Mon, May 12, 2014 at 11:12 PM, Daniel Mercado Betín <damebet at gmail.com>wrote:
> Hi GrADS users,
>
> When I run my script:
>
> reinit
> 'c'
> 'set display color white'
> 'set grid off'
> 'set grads off'
> 'sdfopen U1.nc'
> 'sdfopen V1.nc'
> 'set mpdset hires'
> 'set lat -40 30'
> 'set lon 270 360'
> 'set gxout vector'
> 'd skip(u.1, 25);skip(v.2, 25)'
>
> I get the attached figure, but I need it with colors. How can I do this?
>
> Thank you
> --
> Daniel Mercado Betín
> Environmental Engineering
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140513/73b83d91/attachment.html
More information about the gradsusr
mailing list