Graphics Reference
In-Depth Information
twoway scatter ownhome propval100, mlabel(stateab)
The mlabel(stateab) option can be
used to add a marker label with the
state abbreviation. See
Options : Marker labels (247) for more
details about how you can control the
size, position, color, and angle of
marker labels.
Uses allstates.dta & scheme vg outc
MN
MS M O
MT
ME
WV
MI
PA
IA K KY
L A
D E
AL
IN
VT
NH
WI
WY
ID
UT
A R
SC
OK
ND
TN
TX
NE
O H
SD
NC
NM
I L
CT
FL
GA
NJ
MD
VA
WA
AZ
OR
CO
MA
RI
NY
NV
CA
AK
HI
DC
0
20
40
60
80
100
% homes cost $100K+
twoway scatter ownhome propval100, mlabel(stateab) mlabsize(vlarge)
The mlabsize(vlarge) option controls
the marker label size. Here, we make
the marker label very large.
Uses allstates.dta & scheme vg outc
MI MN
MS MO
MT
ME
WV WI
WY
PA
IA K KY
LA
VT
VA
WA
DE
A L
IN
U T
NH
ID
AR
SC
OK
ND
TN
TX
NE
OH
NC
NM
SD
FL
GA
I L
CT
NJ
MD
A Z
OR
CO
MA
RI
NY
NV
CA
AK
HI
DC
0
20
40
60
80
100
% homes cost $100K+
twoway scatter ownhome propval100, mlabel(stateab) mlabposition(12)
The mlabposition() option controls
the marker label position with respect
to the marker. Here, we place the
marker labels at the 12 o'clock position
with respect to the markers, placing the
labels directly above the points they
label. See Options : Marker labels (247)
for examples illustrating the
mlabvposition() option, which
permits different marker label positions
for different observations.
Uses allstates.dta & scheme vg outc
MN
MS MO
MT
ME
WV
MI
PA
IA K KY
LA
VT
D E
AL
IN
WI
WY
U T
NH
I D
AR
SC
OK
ND
TN
TX
NE
O H
NC
NM
SD
FL
G A
IL
CT
NJ
VA
WA
MD
AZ
O R
CO
MA
RI
NY
NV
CA
AK
HI
DC
0
20
40
60
80
100
% homes cost $100K+
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