I am sure this must have been asked (and answered) before but I cannot happen to find any solution that works for me as well.
I would like to create different labels for the two y-axes I have. I tried the following code:
However, this produces a graph where the left axis appears with the name specified for axis(2) and the right axis appears with no name whatsoever.
Does anyone know how this might be solved?
Many thanks in advance,
Milan
I would like to create different labels for the two y-axes I have. I tried the following code:
Code:
twoway line stereo_g e, color(edkblue) ytitle("L3 - L1") || line stereo_b e, lpattern(dash) color(edkblue) ytitle("L3 - L1") || line ratio_g e, color(red) yaxis(2) ytitle("(E[Y|T] - E[Y|N])" axis(2)) || line ratio_b e, lpattern(dash) color(red) yaxis(2) ytitle("(E[Y|T] - E[Y|N])" axis(2)) xtitle("...") title("...'") yline(0)
Does anyone know how this might be solved?
Many thanks in advance,
Milan
Comment