Graphics Reference
In-Depth Information
twoway histogram ttl exp, gap(99.99)
Here, we reduce the size of the bars
99.99%, making the bars 0.01% of their
normal size.
Uses nlsw.dta & scheme vg blue
.1
.08
.06
.04
.02
0
0
10
20
30
Tot. work exper.
twoway histogram ttl exp, barwidth(.5)
Another way you can control the width
of the bars is though the barwidth()
option. Here, we indicate that we wish
each bar to be .5
.1
.08
-units wide.
Uses nlsw.dta & scheme vg blue
x
.06
.04
.02
0
0
10
20
30
Tot. work exper.
twoway histogram ttl exp, bfcolor(olive teal) blcolor(teal)
blwidth(thick)
We use the bfcolor() (bar fill color)
option to make the fill color of the bar
olive-teal and the blcolor() (bar line
color) option to make the bar line color
teal. The blwidth() (bar line width)
option makes the line around the bar
thick. The section Styles : Colors (328)
shows more about colors, and
Styles : Linewidth (337) shows more
about line widths.
Uses nlsw.dta & scheme vg blue
.1
.08
.06
.04
.02
0
0
10
20
30
Tot. work exper.
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