Graphics Reference
In-Depth Information
graph bar hours, over(occ7) asyvar ylabel(30(5)45, nogrid ) exclude0
The nogrid option suppresses the
display of the grid. Note that this
option is placed within the ylabel()
option, thus suppressing the grid for
the
-axis. (With bar charts, there is
never a grid with respect to the
y
-axis.)
If the grid were absent, and we wanted
to include it, we could add the grid
option. For more details, see
Options : Axis labels (256).
Uses nlsw.dta & scheme vg s2c
x
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
graph bar prev exp tenure, over(occ7) yscale(off)
If you want to suppress the display of
the
-axis entirely, you can use the
yscale(off) option. See
Options : Axis scales (265) and
[ G ] axis scale options for more
details. Please disregard any references
to xscale() since that option is not
valid when using graph bar .
Uses nlsw.dta & scheme vg s2c
y
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
mean of prev_exp
mean of tenure
graph bar prev exp tenure, over(occ7) yalternate
We can use the yalternate option to
put the
y
-axis on the opposite side, in
this case on the right side of the graph.
Uses nlsw.dta & scheme vg s2c
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
mean of prev_exp
mean of tenure
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