Graphics Reference
In-Depth Information
scatter ownhome borninstate,
by(nsw, title("% own home" "by % born in state",
ring(0) position(5) box width(65) height(40) ))
We can make the area for the textbox
bigger using the width() and height()
options. We change the value to make
the box approximately as tall as the
graph for the West and as wide as the
graph for the South.
Uses allstates.dta & scheme vg s2c
North
South
20
40
60
80
West
% own home
by % born in state
20
40
60
80
% born in state of residence
Graphs by Region North, South, or West
scatter ownhome borninstate,
by(nsw, title("% own home" "by % born in state", ring(0) position(5)
box width(65) height(40) justification(left) alignment(top) ))
We can left-justify the text and align it
with the top using the
justification(left) and
alignment(top) options. These
options make the title appear in the top
left corner of the empty hole.
Uses allstates.dta & scheme vg s2c
North
South
20
40
60
80
% own home
by % born in state
West
20
40
60
80
% born in state of residence
Graphs by Region North, South, or West
scatter ownhome borninstate,
by(nsw, title("% own home" "by % born in state", ring(0) position(5)
width(65) height(40) justification(left) alignment(top)))
Now that we have aligned the text as
we would like, we can take away the
box by omitting the box option.
Uses allstates.dta & scheme vg s2c
North
South
20
40
60
80
% own home
by % born in state
West
20
40
60
80
% born in state of residence
Graphs by Region North, South, or West
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