Graphics Reference
In-Depth Information
graph bar propval100, over(nsw) over(division, label(angle(45)) ) nofill
ytitle("% homes over $100K") ylabel(0(10)80, angle(0)) b1title(Region)
legend(rows(1) position(1) ring(0)) blabel(bar, format(%4.2f)) asyvars
Finally, in Bar : Cat axis (123), we see
that we can add the label(angle(45))
option to the over() option to specify
that labels for that variable be shown
at a 45-degree angle so they do not
overlap each other.
Uses allstates.dta & scheme vg past
80
North
South
West
70
66.57
60
53.00
52.46
50
40
28.91
30
19.85
18.46
20
11.60
11.35
10.01
10
0
Region
This section has shown that it is not that dicult to create a complex graph by building
it one step at a time. You can use the resources in this topic to seek out each piece of
information you need and then put those pieces together the way you want to create your
own graphs. For more information about how to integrate options to create complex Stata
graphs, see Appendix : More examples (366).
The electronic form of this topic is solely for direct use at UCLA and only by faculty, students, and staff of UCLA.
Search WWH ::




Custom Search