Graphics Reference
In-Depth Information
lvr2plot, mlabel(stateab)
We can add the mlabel() option to add
marker labels to the graph. We could
also add further options to control the
size, color, and position of the marker
labels; see Options : Marker labels (247)
for more details.
Uses allstates.dta & scheme vg s2c
Before running the graph command,
type
reg propval100 popden pcturban
NJ
RI
MA
VT
WV
CT
N V
CA
UT
AZ
AR
HI
CO
N ND
SD
TN
MS
MO
TX
ME
N NY
MD
FL
ID IL
KY
NH
M NE
SC
V WA
OR PA
DE
A K
WY
IK S
OK
MN
A L
OH
GA
WI
LA
MI
I N
0
.05
.1
.15
.2
Normalized residual squared
kdensity propval100
Consider this kernel-density plot for the
variable propval100 . We could add
options to control the display of the
line. See the following example.
Uses allstates.dta & scheme vg s2c
0
20
40
60
80
100
% homes cost $100K+
kdensity propval100, clwidth(thick) clpattern(dash)
The section Options : Connecting (250)
shows a number of options we could
add to control the display of the line.
Here, we add the clwidth() and
clpattern() options to make the line
thick and dashed.
Uses allstates.dta & scheme vg s2c
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