Graphics Reference
In-Depth Information
twoway scatter ownhome borninstate, by(north, note("By note"))
If we include the note() option within
the by() option, we see that our note
overrides the note that Stata provided
to indicate that the graphs were
separated by the variable north .
Uses allstatesdc.dta & scheme vg brite
S & W
North
20
40
60
80
20
40
60
80
% born in state of residence
By note
twoway scatter ownhome borninstate,
by(north, note("North N=21, Not North N=29", suffix ))
As with the subtitle() option, we can
use the prefix or suffix option to add
our own text before or after the existing
note.
Uses allstatesdc.dta & scheme vg brite
S & W
North
20
40
60
80
20
40
60
80
% born in state of residence
Graphs by Region North or Not
North N=21, Not North N=29
twoway scatter ownhome borninstate,
by(north, total) subtitle(, position(11))
Previously, we saw that the
subtitle() option could be used to
modify the by-group names above each
graph. We can also use the subtitle(,
position()) option to modify the
placement of this text. Here, we move
the text to appear in the 11 o'clock
position.
Uses allstatesdc.dta & scheme vg brite
S & W
North
20
40
60
80
T otal
20
40
60
80
% born in state of residence
Graphs by Region North or Not
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