Graphics Reference
In-Depth Information
twoway scatter ownhome borninstate,
msymbol(S)
We can control the shape of the marker
with the
msymbol()
(marker symbol)
option. Here, we make the symbols
large squares.
Uses allstates.dta & scheme vg s2c
20
40
60
80
% born in state of residence
twoway scatter ownhome borninstate,
msymbol(s)
Specifying
msymbol(s)
, which uses a
lowercase
s
, displays smaller squares.
Uses allstates.dta & scheme vg s2c
20
40
60
80
% born in state of residence
twoway scatter ownhome borninstate,
msymbol(sh)
We can append an
h
(i.e.,
msymbol(sh)
) to yield hollow squares.
In addition to choosing
S
for larger
squares and
s
for small squares, we can
specify
D
(large diamond),
T
(large
triangle), and
O
(large circles). We can
specify lowercase letters to get smaller
versions of these symbols and append
the
h
for hollow versions.
Uses allstates.dta & scheme vg s2c
20
40
60
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.