Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to draw graph with both axis labeled with different scale

    My code:

    twoway (scatter state year, sort by(province)) (scatter wagepre year, sort yaxis(2) by(province)) (lfit state wagepre), ytitle(State employment %) ytitle(Wage premium) xtitle(Year) xlabel(1951(10)2014) legend(order(1 "State employment" 2 "Wage premium" ))

    does not work.
Working...
X