Graphics Reference
In-Depth Information
graph matrix propval100 ownhome borninstate, msize(vlarge)
mfcolor(gs13) mlcolor(gs0)
The mfcolor() (marker fill color) and
mlcolor() (marker line color) options
allow you to control the fill color (inside
color) and outline color (periphery
color) of the markers. Below, we make
the fill color light gray by specifying
mfcolor(gs13) and the line color black
by specifying mlcolor(gs0) .Weuse
the msize() option to make the
markers very large to help see the effect
of these options.
Uses allstates.dta & scheme vg s1m
40
60
80
100
% homes
cost
$100K+
50
0
80
% who
own
home
60
40
80
% born i n
state of
residence
60
40
20
0
50
100
20
40
60
80
graph matrix propval100 ownhome borninstate, mlabel(stateab)
We can label the markers using the
mlabel() (marker label) option. In this
example, we label the markers with the
two-letter postal abbreviation by
supplying the option mlabel(stateab) .
Even though many of the labels
overlap, the most interesting
observations are those that stand out
and have readable labels, such as DC
and NV . For additional details, see
Options : Marker labels (247).
Uses allstates.dta & scheme vg s1m
40
60
80
CT
C T
HI
HI
100
MA
M A
CA
RI
NJ
CA
NJ
RI
N H
NH
DC
DC
% homes
cost
$100K+
MD
MD
NY
NY
D E
DE
VT
VT
VA
VA
WA
50
AK
A K
WA
NV
NV
IL
M E
ME
I L
I N
CO
CO
A Z
FL
GA
P A
FL
AZ
PA
GA
OR
NM
N C
ND
M I MN
MS
O R
N M
NC
ND
M I
M N
MS
TX
O OK
UT
TN
TUT
OH
MO
M NE
WI
WY
SC
SD
TN
I D
ID
MO
SC
SD
W WI
I IA
KS
KY
LA
AL
WY
MT
KS
A L
KL A
AR
WV
OK
AR
NE
IA
0
M MN
M MO
MT
NE
M MS
MO
80
M E
ME
WV WI
WY
PA
M I
W WI
PA
IN
I KKY
LA
VT
V WA
D E
D E
V T
VA
I A
AR
A L
ID
UT
N H
NH
ID
A R
UT
I IN
AL
SC
SDTN
TX
NC
ND OH
OK
OR
K S
OK
S SD
TN
TX
K LA
NM
I L
CT
WY
N J
NM
C T
NCND
OH
NE
FL
GA
NJ
FL
MT
AZ
MD
AZ
MD
G A
CO
CO
OR
WA
% who
own
home
MA
MA
RI
RI
NY
NY
NV
CA
NV
CA
AK
AK
60
HI
HI
DC
DC
40
PA
P A
IA
KS
L A
LA
I A
KS
WVWI
M MN
MS
M O
MT
MI MN
MS
MO
MT
WV
WI
ND OH
OK
OR
A L
K Y
N ND
KY
AL
OH
OK
80
SD T TX
NE
IN
N E
S TN
IL IN
NC
I L
NY
NY
SC
UT
ME
M A
M A
SC
UT
V T
M E
AR
G A
GA
A R
TX
RI
RI
V T
VA
W A
% born in
state of
residence
HI
CT
HI
VA
WA
CT
D E
N M
NJ
NNM
60
ID
MD
M D
ID
D E
OR
N H
CA
CA
NH
WY
CO
CO
W Y
A K
AK
DC
DC
AZ
AZ
40
FL
FL
NV
NV
20
0
50
100
20
40
60
80
graph matrix propval100 ownhome borninstate, mlabel(stateab)
mlabsize(large)
You can use the mlabsize() (marker
label size) option to control the size of
the marker label. Here, we indicate
that the marker labels should be large.
You can also specify the size of the
marker label as a multiple of the
original size of the marker label; e.g.,
specifying mlabsize(*1.5) would make
the labels 1.5 times their normal size.
Uses allstates.dta & scheme vg s1m
40
60
80
CT
C T
HI
HI
M A
MA
100
CA
RI
NJ
CA
N J
RI
N H
N H
DC
DC
% homes
cost
$100K+
MD
MD
NY
NY
N ND
VT
V A
WA
D E
V T
VA
W A
D E
AK
A K
50
NV
NV
I L
I IA
M E
ME
I L
IN I A
CO
CO
FL
GA
A Z
AR
PA
FL
AZ
PA
G A
OR
NM
N ND
M M N
MS
OR
N M
M MS
TX UT
WI
WY
O OK
SC
S TN
TN
TUT
S SD
OH
M I
W WI
MO
M NE
KY
LA
I D
I D
MO
MT NE
K LA
KS
AL
WY
KS
AL
WV
OK
AR
0
M MN
M MO
MT
M M S
MO
MT NE
W WI
WY
M E
ME
W WI
80
PA
MI
PA
IN
I K KY
LA
A L
VT
V WA
DE
V T
VA
WA
D E
I IN I A
AL
SC
SD T TX
AR
ID
UT
N H NJ
NH
ID
K S
AR
UT
S SD
ND OH
OK OR
WY
OK
TN
TX
N ND
OH
K LA
NE
NC
NM
F L
GA
I L
C T
FL
NM
CT
MD
MD
NJ
A Z
AZ
G A
CO
CO
OR
M A
% who
own
home
MA
RI
RI
NY
NY
NV
NV
AK
CA
AK
C A
HI
HI
60
DC
DC
PA
PA
40
M MO
MT
IA
KS
L A
M S
MO
MT
LA
ILI IA
KS
WWI
A L
K Y
MM N
KY
WV
WI
AL
MM N
NDOH
OK
OR
N ND
OH
OK
NE
NE
SD T TX
IN
NC
IL
S TN
TX UT
VT
VA
WA
80
SC
ME
NY
NY
SC
ME
AR
UT
MA
MA
AR
G A
G A
RI
RI
V T
V WA
HI
CT
HI
C T DE
NJ
N NM
% born in
state of
residence
NM
ID
ID
60
D E
MD
MD
C A
CA CO
OR
C O
N H
NH
WY
WY
A K
AZ
AK
DC
DC
AZ
40
FL
FL
NV
NV
20
0
50
100
20
40
60
80
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