Dear all,
I am trying to combine two graphs from marginsplot but the first consistently has a different dimension (although I set its y-axis range equal to that of the second graph. Any idea on how to fix this?
Here is the code I used and thank you in advance:
I am trying to combine two graphs from marginsplot but the first consistently has a different dimension (although I set its y-axis range equal to that of the second graph. Any idea on how to fix this?
Here is the code I used and thank you in advance:
Code:
mean countabdisplayed if ab_mobile!="yes", over(co2ab_levels moral) marginsplot, name(ab_moral_CO2ab, replace) leg(off) ylabel(350(50)600 ,angle(0)) /// xlabel(0 `" "Low CO2" "abatement" "' 1 `" "High CO2 " "abatement " "', labsize(small)) ytitle("Number of A-B pair presses") mean countabdisplayed if ab_mobile!="yes", over(mon_inclevels moral) marginsplot, name(ab_moral_moninc, replace) legend( cols(1) )ylabel(,angle(0)) /// xlabel(0 `" "No mon." "incentive" "' 1 `" "Low mon." "incentive" "' 2 `" "Medium mon." "incentive" "' 3 `" "High mon." "incentive" "', labsize(small) angle(30)) ytitle("") grc1leg ab_moral_CO2ab ab_moral_moninc, position(6) legendfrom(ab_moral_moninc) ring(3)
Comment