GrADS: How to draw a Hovmoller (or Hovmuller) diagram?
Output image |
The script:
*********HOVMOLLER**********
'reinit'
'set display color white'
'c'
'set grads off'
'set grid off'
'run colors.gs'
'set xlint 6'
'set xlopts 1 6 0.13'
'set ylopts 1 6 0.13'
'sdfopen file9.nc'
'set t 1 68'
'define plon1=ave(uas,lon=70,lon=90)'
'set lat 0 37'
'set grads off'
'set clab off'
'set x 1'
'set ylabs 1989 | 1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 '
*'set parea 0.7 3.7 0.81 7.81'
'set display color white'
'set gxout shaded'
'color 0 10 1 -kind grainbow'
'd plon1'
'run cbar'
*'xcbar 0.69 6.97 0.35 0.51 -fw 0.08 -fh 0.09 -fs 1 -line on -edge triangle -dir h'
'set string 1 l 6'
'set strsiz 0.11'
'draw title Hovmoller diagram'
*'draw string 0.7 7.93 ERA'
'printim output.png'
Comments
Post a Comment