[gradsusr] Plotting multiple contour lines in GRADS: axis label problems

Jennifer M Adams jadams21 at gmu.edu
Mon Apr 24 21:16:47 EDT 2017


I wrote about this issue here: http://cola.gmu.edu/grads/gadoc/drawingtips.html
—Jennifer

On Apr 24, 2017, at 9:03 PM, Lyndon Mark Olaguera <olagueralyndonmark429 at gmail.com<mailto:olagueralyndonmark429 at gmail.com>> wrote:

Hi all,

Oopss..Please ignore this post/question. I just figured out the solution.


Many thanks.

Lyndon Mark P. Olaguera


On Tue, Apr 25, 2017 at 9:52 AM, Lyndon Mark Olaguera <olagueralyndonmark429 at gmail.com<mailto:olagueralyndonmark429 at gmail.com>> wrote:
Dear all,


I am plotting a contour line for each time step (17 steps) from a single netcdf file.
Here's my script:

'sdfopen hgt_may_monmean_1979-1995.nc<http://hgt_may_monmean_1979-1995.nc/>'
'set display color white'
'c'
tim_min=1
tim_max=17
'set lat -10 60'
'set lon 60 180'
while(tim_min <= tim_max)
'set t 'tim_min
'set parea 1 8 2 10'

'set z 3'
'set gxout contour'
'set clevs 1520'
'd hgt'

'printim test.png'
tim_min=tim_min+1
endwhile
'quit'

The problem is that the axis labels are "printed" on top of one another so it appears to be "bold" characters.
I am attaching the output image here.


Is there a work around solution to this such that the axis labels will only be plotted for the "first" or "last" time step?

I'll appreciate any help.

Lyndon Mark P. Olaguera


_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170425/a7112d5a/attachment.html 


More information about the gradsusr mailing list