I'm trying to create a side-by-side bar graph, as per below (note dummy variable labels included- the dataset is confidential):
Code:
graph bar (count) if time>6, by(deceased_end, note("")) over(nut_ax_sga_rating) over(time, label(labsize(small))) /// ytitle("Y axis", size(small)) b1title("X axis", size(small)) graphregion(color(white)) /// legend(order(1 "A" 2 "B" 3 "C") size(small)) /// asyvars
Array
How do I relabel the "No" and "Yes" at the top of each graph to something else? These are the labels from the binary variable (coded 0/1, labelled No/Yes), but surely there's another way than relabeling the variable to change these title/headings?
Cheers,
Marissa
0 Response to Changing titles on side-by-side bar graphs
Post a Comment