[gradsusr] Multiple plot types on same page

Bamidele OLORUNTOBA dele_oloruntoba at yahoo.co.uk
Fri Sep 11 03:45:42 EDT 2020


Hi all,

I am trying to have both line plot and spatial plot (1 line plot and 3 
spatial plots) on the same page (2 rows: Line plot stays in top row and 
3 spatial plots share 2nd row). I have tries severally but seems not to 
work. The codes however work when separated into different scripts.

kindly take a look and advise.

'set parea 0.8 10.5 6.0 7.5'
'set gxout line'
'set grads off'
'set t 1 last'
'set lon 7'
'set lat 9'
'set display color white'
'clear'
'plot -v QFLX_EVAP_TOT QFLX_EVAP_TOT.2 QFLX_EVAP_TOT.3 -t GSWP CRUN WFD5 
-s bar 1 -k 10 5 -c 2;4 1'

'set gxout shaded'
'set parea 0 5 1.5 4.5'
'set xlint 20'
'set ylint 10'
'set grads off'
'color 0 1 -kind red->white->blue'
'd QFLX_EVAP_TOT'
'xcbar 0.9 6.9 1.0 1.2 -fstep 2 -line on -edge circle'

'set parea 3.5 7.5 1.5 4.5'
'set xlint 20'
'set ylint 10'
'set grads off'
'set clevs 0 2 4 6 8 10 12 14 16 20 30 40 50 60 70 80 90 100 110 120 130 
150 200'
'set ccols 0 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 
48 49'
'color 0 1 -kind red->white->blue'
'd QFLX_EVAP_TOT.2'

'set parea 7.0 10.0 1.5 4.5'
'set xlint 20'
'set ylint 10'
'set grads off'
'set clevs 0 2 4 6 8 10 12 14 16 20 30 40 50 60 70 80 90 100 110 120 130 
150 200'
'set ccols 0 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 
48 49'
'color 0 1 -kind red->white->blue'
'd QFLX_EVAP_TOT.3'

Thanks,
Bamidele



More information about the gradsusr mailing list