Graphics Reference
In-Depth Information
graph pie, over(occ7)
Consider this pie graph showing the
frequencies of women in these seven
occupational categories.
Uses nlsw.dta & scheme vg brite
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
graph pie, over(occ7) legend(label(1 "Professional"))
We can use the legend(label())
option to change the label for the first
occupation.
Uses nlsw.dta & scheme vg brite
Professional
Mgmt
Sales
Cler.
Operat.
Labor
Other
graph pie, over(occ7) legend(title(Occupation))
We can add the title() option to the
legend() option to add a title to the
legend. In fact, we can also use
subtitle() , note() ,and caption()
options as well, much as we would for
adding titles to a graph; see Standard
options : Titles (313) for more details.
Uses nlsw.dta & scheme vg brite
Occupation
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
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