Graphics Reference
In-Depth Information
graph bar wage hours tenure, over(collgrad) blabel(name) nolabel
legend(off)
In this case, the legend is no longer
needed, so we can suppress the display
of the legend with the legend(off)
option. See Options : Legend (287) for
more information about legend options.
Uses nlsw.dta & scheme vg past
hours
hours
wage
wage
tenure
tenure
not college grad
college grad
graph bar tenure, over(occ7) exclude0 blabel(group)
Using the blabel(group) option shows
the label for the first over() group at
the top of each bar. In this case, the
label at the bottom of the bar becomes
unnecessary.
Uses nlsw.dta & scheme vg past
Other
Prof
Mgmt
Sales
Operat.
Labor
Cler.
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
graph bar tenure, over(occ7, label(nolabels) ) exclude0
blabel(group) yscale(range(7.2))
We can add the label(nolabels)
option to suppress the display of the
labels below each bar. Note that we
have also used the option
yscale(range(7.2)) to provide more
room within the plot area to label the
bar for the Other category.
Uses nlsw.dta & scheme vg past
Other
Prof
Mgmt
Sales
Operat.
Labor
Cler.
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