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

Davide Sacchetti davide.sacchetti at arpal.gov.it
Wed Apr 12 06:19:06 EDT 2017


no way for what I know ...
anyway using gxout grid, if you want just to display grid use:
display maskout(test,-1)

Il giorno mer, 12/04/2017 alle 18.29 +0900, Lyndon Mark Olaguera ha
scritto:
> 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
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr



More information about the gradsusr mailing list