Change the value based on the graphic scale

All other topics about postprocessing model data (GrADS and other software), about other numerical weather prediction software (including WRF-NMM and WRF-ARW discussion unrelated to UEMS/WRF EMS), and general meteorology talk go in this forum.
Post Reply
dominic
Posts: 334
Joined: Thu Jun 14, 2012 7:19 am

Change the value based on the graphic scale

Post by dominic » Thu Aug 02, 2018 10:51 am

Hello everyone, I would like to know in grads the way to change color to a displayed value, in this case the temperature, useful for example when the value corresponds to dark colors, where unfortunately the black is not very clear.

https://postimg.cc/image/bu12okkpn/

I would like to give this setting to the plot, with white values ​​exceeding a certain threshold in the scale.

Did someone do it? thank you so much

meteoadriatic
Posts: 1565
Joined: Wed Aug 19, 2009 10:05 am

Re: Change the value based on the graphic scale

Post by meteoadriatic » Thu Aug 02, 2018 10:57 am

You need to use maskout function. First, set color, then draw all numeric values that are under certain limit using first maskout function. After that, set different color and draw all numeric values that are over same limit, using second maskout function.

http://cola.gmu.edu/grads/gadoc/gradfuncmaskout.html

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest