Announcement

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

  • Removing the title from the second yaxis in two-way graph

    Hi all,
    I'm trying to graph the Rif(Gini) over the income distribution using the following code:
    Code:
     twoway  (line rifsd extended_income, sort yaxis(1)) (kdensity extended_income, yaxis(2)) if welfare_regime==1 & period==0 /// 
    , legend(label(1 "RIF(Gini)") label(2 "HH-Income")) ytitle("") xtitle("Equivalised disposable income") title("Social-Democratic") name(sd)
    Using the option ytitle("") only removes the title from the first left-side y-axis. How can I remove the title from yaxis(2) too?

    Thanks for your help!


  • #2
    Code:
    ytitle("", axis(2))

    Comment


    • #3
      Ah, perfect! Thanks

      Comment

      Working...
      X