Announcement

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

  • graph hbar - add markers to particular points in a graph without using graph editor

    Hi,

    I am creating a vertical bar graph using Stata 15 (graph hbar), and would like to add markers to particular points on the graph. I understand that I can do this manually using the graph editor... Is there any code that can do this? For example, on the following graph, I'd like to add markers of different values to the bars for Kono, TonKolili, Pujehun, and Western Area Urban. Thanks!

    Click image for larger version

Name:	hbar.PNG
Views:	1
Size:	128.8 KB
ID:	1458496


  • #2
    SJ-11-3 gr0049 . . . . . . . . . . Stata tip 102: Highlighting specific bars
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N. J. Cox
    Q3/11 SJ 11(3):474--477
    tip on highlighting a subset of observations in a bar or
    dot chart

    https://www.stata-journal.com/sjpdf....iclenum=gr0049

    Comment

    Working...
    X