Announcement

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

  • How to remove scale axis in hbar graphs

    Hi
    I am using simple bar graphs and using "mylabels" to add %. I have tried axis(off) but didn´t work.
    Here is the command i am using

    mylabels 0(5)45, local(pctlabel) suffix("%") axis(off)
    graph hbar p, ylab(`pctlabel') over(Dentrodetuequipodetrabaj, sort(1) descending lab()) blabel(total, format(%4.0f) color(black)) ylabel() ytitle("") title ("Profesión predominante en tu" "equipo de trabajo", position(12) color("0 43 92"))

    Click image for larger version

Name:	stata.png
Views:	2
Size:	55.6 KB
ID:	1676571


    Thanks
    Attached Files

  • #2
    Those are the y-axis labels, so you want

    Code:
    ylab("")

    Comment


    • #3
      It worked, thanks Andrew
      Sorry for my unfamiliarity with statalist protocol. Hope to get better along the way!

      Comment

      Working...
      X