I am trying hard to alignt the scale of the two Y-Axis but Stata seems to override my instructions. Any hints how I can get the 0 to be one the same vertical height?
Illustrative code, let me know if you want a fake MWE.
Illustrative code, let me know if you want a fake MWE.
Code:
qui sum year local beg = r(min) local end = r(max) # delimit ; twoway (line realGDPpcgrowth year, yaxis(2) yscale(r(-6 6)) ylabel(-6(2)6) ytitle("GDP growth %", axis(2) size(small))) || (line wageGrowth year, yaxis(1) yscale(r(-6 6)) ylabel(-6(2)6) ytitle("Wage growth %", axis(1) size(small))), title("") xtitle("") xsc(r(`beg' `end')) xlabel(`beg'(2)`end') legend(order(1 "Real GDP per capita growth" 2 "Real wage growth") rows(1)); # delimit cr
Comment