Announcement

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

  • Edit x-axis in bar charts?

    Or similarly, edit the vertical axis in hbar charts.
    Is there no way to modify the size of the labels? The documentation indeed says xlabel and xtitle options are irrelevant for bar charts.

  • #2
    All documented. Start with help for graph bar, over(), its sub-options, and so on.

    Code:
    . sysuse auto, clear
    (1978 automobile data)
    
    . graph bar (mean) mpg, over(rep78, relabel(1 "appalling" 2 "mediocre" 3 "adequate" 4 "good" 5 "admirable"))
    
    , graph bar (mean) mpg, over(rep78, relabel(1 "appalling" 2 "mediocre" 3 "adequate" 4 "good" 5 "admirable") label(labsize(large)))
    .

    Comment

    Working...
    X