Graphics Reference
In-Depth Information
graph bar wage hours ttl exp tenure, over(collgrad)
intensity(*.5)
The intensity option is used to
control the intensity of the color within
the bars. Here, we request that the
color be 50% as intense as it normally
would be.
Uses nlsw.dta & scheme vg rose
40
30
20
10
0
not college grad
college grad
mean of wage
mean of hours
mean of ttl_exp
mean of tenure
graph bar wage hours ttl exp tenure, over(collgrad)
intensity(*1.4)
In this example, we use the
intensity() option to make the colors
within the bars 1.4 times more intense
than they would normally be. Note
that Stata also has an option called
lintensity() that works the same way
but controls the intensity of the line
surrounding the bar. (This option is
not illustrated.)
Uses nlsw.dta & scheme vg rose
40
30
20
10
0
not college grad
college grad
mean of wage
mean of hours
mean of ttl_exp
mean of tenure
So far, all these options that we have examined determine the overall behavior and look
over all of the bars as a group. Using the bar() option, you can control the look of the
bars for each
y
-variable, as illustrated below. These graphs use the vg s2c scheme.
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