Graphics Reference
In-Depth Information
twoway (scatter ownhome borninstate),
title("% own home by % reside in state",
box
)
We can add the
box
option now for
aesthetic purposes.
Uses allstatesn.dta & scheme vg past
% own home by % reside in state
40
50
60
70
80
% born in state of residence
twoway (scatter ownhome borninstate),
title("% own home by % reside in state",
box
bfcolor(ltblue) blcolor(gray) blwidth(thick)
)
We can change the box fill color with
the
bfcolor()
option, the color of the
line around the box with
blcolor()
,
and the width of the surrounding box
line with
blwidth()
. See
Styles : Colors
(328) for other possible values you
could use with the
bfcolor()
and
blcolor()
options and
Styles : Linewidth
(337) for other values
you could choose for
blwidth()
.
Uses allstatesn.dta & scheme vg past
% own home by % reside in state
40
50
60
70
80
% born in state of residence
twoway (scatter ownhome borninstate),
title("% own home by % reside in state",
box
bcolor(gold)
)
We can change the box color with the
bcolor()
option. Here, we make the fill
and outline color of the title box gold.
Uses allstatesn.dta & scheme vg past
% own home by % reside in state
40
50
60
70
80
% born in state of residence
The electronic form of this topic is solely for direct use at UCLA and only by faculty, students, and staff of UCLA.