Graphics Reference
In-Depth Information
graph pie, over(occ7) pie(3, explode)
In this example, we use the pie()
option to explode the third pie slice,
calling attention to this slice. By
default, it is exploded by 3.8 units.
Uses nlsw.dta & scheme vg rose
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
graph pie, over(occ7) pie(3, explode(5) color(cyan) )
Here, we specify explode(5) to
increase the distance this slice is
exploded to 5 units. We also make the
third slice cyan to make it more
noticeable. See Styles : Colors (328) for
other colors you could choose.
Uses nlsw.dta & scheme vg rose
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
graph pie, over(occ7) pie(3, color(cyan) explode(5))
pie(1, color(gold) explode(2.5))
You can use the pie() option
repeatedly. Here, we change the color
and explode slices 1 and 3.
Uses nlsw.dta & scheme vg rose
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