Hello!
I am having issues with combining graph. Both
and
create a large empty space at the top of a graph and I would like to find an elegant solution to solve the issue. The graph I obtain is: 
As you can see, there is a lot of not-so-useful space at the top. There are little tricks I could use to shrink it down but I would rather like a piece of code to do it more systematically.
The code I typed was:
Thank you very much,
Best,
I am having issues with combining graph. Both
Code:
graph combine
Code:
grc1leg
As you can see, there is a lot of not-so-useful space at the top. There are little tricks I could use to shrink it down but I would rather like a piece of code to do it more systematically.
The code I typed was:
Code:
serrbar meandv sddv year, yscale(range (0 100)) ylabel(0 50 100) xscale(range (2008 2019)) xlabel(2008 2012 2016 2019) xtitle("Year") ytitle("Mean of s1") recast(rarea) yline(50, lcolor(gs12)) graphregion(color(white)) mvopts(mcolor(black)) fcolor(gs12%30) saving(des1.gph) serrbar meandv2 sddv2 year, yscale(range (0 100)) ylabel(0 50 100) xscale(range (2008 2019)) xlabel(2008 2012 2016 2019) xtitle("Year") ytitle("Mean of s2") recast(rarea) yline(50, lcolor(gs12)) graphregion(color(white)) mvopts(mcolor(black)) fcolor(gs12%30) saving(des2.gph) graph combine des1.gph des2.gph, ycommon graphregion(color(white)) grc1leg des1.gph des2.gph, ycommon graphregion(color(white))
Best,
Comment