Announcement

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

  • Label each y-axis when producing multiple graphs by a variable

    Hello,

    I'm currently producing bar graphs by an education variable. Respondents answer questions on a scale of 1-5, and I then graph the responses by percentage.

    I'm using this code:

    Code:
    graph bar (percent), over(effective) by(edu, note("") b1title("1 = No" "5 = Yes"))
    To get the below graphs.

    Is there a way to label the y-axis of each graph as "percent," as opposed to leaving it floating on the left?

    Thank you.
    Attached Files
    Last edited by Greg Saldutte; 04 Oct 2019, 13:46.

  • #2
    Code:
    by(edu, note("") iytitle noytitle)

    Comment


    • #3
      You can also solve this problem by avoiding it. As in your concurrent thread a row x column layout with tabplot (Stata Journal/SSC) would give you all the bars with a single vertical axis.

      Comment

      Working...
      X