Announcement

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

  • Catplot and Scaling Panel

    Dear All,
    I want to know how to set different scale for the different panel.
    catplot ut_preg education [iweight = wt] , ///
    percent(education) by(ut_preg) asyvars blabel(bar,format(%4.2f)) ytitle(Percent) by(, title(Percent of Pregnancy Status by Education Level) note(Source: Author's Calculation using NFHS-5:2019-21))

    What to add in the codes to have a different scale in the right panel (unintended)?

    Thank You in Advance
    Attached Files

  • #2
    I don't know a way to do that, except by re-casting the whole problem with twoway bar.

    But

    * as the two percents add to 100, why plot both?

    * if you don't want the bar lengths to work as usual, what is the advantage over a table?

    If you must plot both, try adding the nofill option.

    Comment

    Working...
    X