[gradsusr] Multiple plot types on same page

Jennifer M Adams jadams21 at gmu.edu
Fri Sep 11 12:05:27 EDT 2020


Use 'set vpage' instead of 'set parea' for multi-panel plots.
http://cola.gmu.edu/grads/gadoc/pagecontrol.html

________________________________
From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Bamidele OLORUNTOBA <dele_oloruntoba at yahoo.co.uk>
Sent: Friday, September 11, 2020 3:45 AM
To: gradsusr at gradsusr.org <gradsusr at gradsusr.org>
Subject: [gradsusr] Multiple plot types on same page

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

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://secure-web.cisco.com/1CHqhVKenBkVBJqRGcaWPMuBQN8wU9pmrbQRXlqvwtKaQ2bn9Lba6F554yVc5Rsq1yhVZYFV2BcjjxD9Q61vldg-IYimlKSpzGcsnQJRJINnEVDa5RVQML4UGKCWhCxNn9ZPu_fde9kvvwI8P4FO4ZmRTnM6urzHLa1uuxjMuAxPlnL5LBVVrDK8xS6fC6XRKsmZOL60gcNsV7eefb1xNLCAjMdYz-g7wff2yQrQyK91PFHoeEkop-q1k41b87SX1febMMSXW8L7fzYx5b4bXxFwbFWhWcjt09NYuV52xHjAioE-nY23sOFLgY2zPoUsK-oV3d1sMgxp6fq0w0ThP9N6nyxIye3Fo0WxDOc0Ryjyl9KoL4J92IKgEQHPrOgKFtnJi8Jb4R34CGisp4TQbT9pRI_PsIwL1ZmuATWuvfHTBbJ7beIP6s7Ix5m98xOqL/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20200911/628c361b/attachment.html>


More information about the gradsusr mailing list