Announcement

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

  • How do I remove the little note under the hbar graph I generated using the by() option?

    Hello all,

    I generated a simple hbar graph using this command: graph hbar (percent) [pw=PWEIGHT] if age>1, over(PAGE) by(renter)

    The figure correctly specifies at the bottom that the graph was generated by groups of "renter" (circled in red below). However, I would like to remove that piece of text. Any advice?

    Click image for larger version

Name:	StataGraph.png
Views:	1
Size:	59.5 KB
ID:	1654234

    Thanks,

    Abeer

  • #2
    Code:
    graph hbar (percent) [pw=PWEIGHT] if age>1, over(PAGE) by(renter, note(""))

    Comment


    • #3
      Just add the following to the by statement
      Code:
      graph hbar (percent) [pw=PWEIGHT] if age>1, over(PAGE) by(renter, note(" "))
      Last edited by Tarun Choudhary; 14 Mar 2022, 08:32. Reason: Crossed with #2

      Comment


      • #4
        Most awesome! Thanks a lot! Problem solved.

        Comment

        Working...
        X