Hi!
I am trying to scale two graphs in two different axis but my y-axis labels of the right hand side scale is not getting legible:
I am using the following codes
twoway bar act_kol date1, sort yaxis(1) yscale(range(0) axis(1)) ///
||(connected m_fare date1 if lockdownphase==0, sort msymbol(triangle) yaxis(2) yscale(range(0) axis(2)))(connected m_fare date1 if lockdownphase==1, sort msymbol(circle) yaxis(2) yscale(range(0) axis(2)))
|| scatter act_kol date1, mlabel(act_kol) mlabpos(12) m(none) yaxis(1) ///
|| scatter m_fare date1 ,mlabel(m_fare) mlabpos(3) m(none) yaxis(2) ///
|| ,legend(order(1 3))
Any suggestions in this matter would be much appreciated. Thanks for sparing your valuable time.
I am trying to scale two graphs in two different axis but my y-axis labels of the right hand side scale is not getting legible:
I am using the following codes
twoway bar act_kol date1, sort yaxis(1) yscale(range(0) axis(1)) ///
||(connected m_fare date1 if lockdownphase==0, sort msymbol(triangle) yaxis(2) yscale(range(0) axis(2)))(connected m_fare date1 if lockdownphase==1, sort msymbol(circle) yaxis(2) yscale(range(0) axis(2)))
|| scatter act_kol date1, mlabel(act_kol) mlabpos(12) m(none) yaxis(1) ///
|| scatter m_fare date1 ,mlabel(m_fare) mlabpos(3) m(none) yaxis(2) ///
|| ,legend(order(1 3))
Any suggestions in this matter would be much appreciated. Thanks for sparing your valuable time.