Graphics Reference
In-Depth Information
twoway (scatter ownhome borninstate),
title("% who own home by" "% that reside in state of birth",
box bexpand justification(left)
bmargin(medium)
)
We can change the size of the margin
around the outside of the box using the
bmargin(medium)
(box margin) option,
making the margin a medium size at all
four edges: left, right, top, and bottom.
Uses allstatesn.dta & scheme vg rose
% who own home by
% that reside in state of birth
80
70
60
50
40
40
50
60
70
80
% born in state of residence
twoway (scatter ownhome borninstate),
title("% who own home by" "% that reside in state of birth",
box bexpand justification(left)
bmargin(0 0 3 3)
)
If we wanted the margin for the left and
right to be 0 and for the top and
bottom to be 3, we could use the
bmargin(0 0 3 3)
option. The order
of the margins is
bmargin(
#
left
#
right
#
top
#
bottom
)
.
Uses allstatesn.dta & scheme vg rose
% who own home by
% that reside in state of birth
80
70
60
50
40
40
50
60
70
80
% born in state of residence
twoway (scatter ownhome borninstate),
title("% who own home by" "% that reside in state of birth",
box bexpand justification(left)
bmargin(b=3)
)
To make only the bottom margin 3, we
could specify
bmargin(b=3)
, where
b=3
means to change the bottom margin to
3. The top, left, bottom, and top
margins can be changed individually
using
t=
,
l=
,
b=
,and
t=
, respectively.
Uses allstatesn.dta & scheme vg rose
% who own home by
% that reside in state of birth
80
70
60
50
40
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.