[gradsusr] Add outline to output of set gxout grfill in GrADS

Lyndon Mark Olaguera olagueralyndonmark429 at gmail.com
Wed Apr 12 05:29:53 EDT 2017


Dear fellow GrADS users,

I would like to add an outline to each gridbox from the set gxout grfill
command.
Attached in this email are the link to the netcdf file and sample output
that I have so far.


I tried using set gxout grid but it prints all grid boxes in the domain. I
only want to highlight the colored grid boxes (output of grfill).

[Link to the file]

https://drive.google.com/file/d/0B9faET7Bc2o8RVprdU4yTHVTVTQ/view?usp=sharing


Here's the code that I am using:

'sdfopen diff_jas_tc.nc'
'set display color white'
'c'
'define test=sum(ntd,t=1,t=45)'
'color -12 12 1 -gxout grfill -kind cornflowerblue->white->crimson'
'd test'


'set gxout grid'
'set digsize 10000000'
'd test'

'printim test_with_grid.png'
'quit'

I'll appreciate any help.

Sincerely,


*Lyndon Mark P. Olaguera*
PhD Student
Monsoon Climatology Laboratory
Department of Geography
Faculty of Urban Environmental Science
Minami-Osawa Campus
Tokyo Metropolitan University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170412/03709ff5/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grfill.png
Type: image/png
Size: 86788 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20170412/03709ff5/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_with_grid.png
Type: image/png
Size: 167265 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20170412/03709ff5/attachment-0003.png 


More information about the gradsusr mailing list