Graphics Reference
In-Depth Information
10.12
Text size
The textsizestyle is used to control the size of text, either by specifying a keyword
that corresponds to a particular size or by specifying a number representing a relative size.
The predefined keywords include zero , miniscule , quarter tiny , third tiny , half tiny ,
tiny , vsmall , small , medsmall , medium , medlarge , large , vlarge , huge ,and vhuge .We
could also specify the sizes as a relative size, which is a multiple of the original size of the
text. See [ G ] textsizestyle for more information.
scatter workers2 faminc, mlabel(stateab) mlabsize(small)
This example uses mlabel(stateab) to
add marker labels with the state
abbreviation labeling each point. We
use the mlabsize(small) (marker label
size) option to modify the size of the
marker labels to make the labels small.
Uses allstatesdc.dta & scheme vg s2c
AK
NH
HI
CT
MN
VT
MD
WI
NE
MA
SD
ND
UT
VA
C O
NJ
I A
KS
DE
RI
ME
NC
WY
IN
NV
GA
IL
ID
SC
CA
MT
MO
NY
WA
TX
TN
OH
MI
OR
PA
OK
AL
KY
AZ
AR
NM
FL
MS
LA
WV
15000
20000
25000
30000
1979 Median Family Inc.
scatter workers2 faminc, mlabel(stateab) mlabsize(*1.5)
In addition to using the keywords, we
can specify a relative size that is a
multiple of the normal size. Here, we
use the mlabsize(*1.5) option to
make the marker labels 1.5 times as
large as they would normally be.
Uses allstatesdc.dta & scheme vg s2c
AK
NH
H I
CT
MN
VT
MD
WI
N E
MA
SD
NC ND
VA
UT
C O
NJ
I KS
RI
DE
ME
WY
IN
NV
GA
IL
ID
S C
C A
MT
MO
N Y
WA
TX
TN
OH
OR
MI
PA
OK
AL
KY
AZ
AR
NM
FL
MS
LA
WV
15000
20000
25000
30000
1979 Median Family Inc.
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