Graphics Reference
In-Depth Information
7.6
Graphing by groups
This section describes the use of the by() option with pie charts, focusing on features
that are specifically relevant to pie charts. For more details, see Options : By (272) and
[ G ] by option .
graph pie, over(occ7)
Here, we see a basic pie chart showing
the distribution of occupations.
Uses nlsw.dta & scheme vg s2c
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
graph pie, over(occ7) by(union)
In this graph, the occupations are
broken down by whether one belongs to
a union.
Uses nlsw.dta & scheme vg s2c
nonunion
union
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
Graphs by union worker
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