Graphics Reference
In-Depth Information
scatter workers2 faminc, title("Overall title",
margin(9 6 3 0)
box)
In addition to the words describing
margins, we can manually specify the
margin for the left, right, bottom, and
top. In this example, we specify
margin(9 6 3 0)
and make the margin
for the left 9, for the right 6, for the
bottom 3, and for the top 0.
Uses allstatesdc.dta & scheme vg s2c
Overall title
15000
20000
25000
30000
1979 Median Family Inc.
scatter workers2 faminc, title("Overall title",
margin(l=9 r=9)
box)
We can also manually change some of
the margins without specifying all four
margins (as in the previous example).
By specifying
margin(l=9 r=9)
,we
can make the margin at the left and
right 9 units, leaving the top and
bottom unchanged. We can specify one
or more of the expressions
l=
,
r=
,
t=
,
or
b=
to modify the left, right, top, or
bottom margins, respectively.
Uses allstatesdc.dta & scheme vg s2c
Overall title
15000
20000
25000
30000
1979 Median Family Inc.
10.9
Marker size
We can control the size of the markers by specifying a
markersizestyle
or a
relativesize
.
The
markersizestyle
is a word that describes the size of a marker, including
vtiny
,
tiny
,
vsmall
,
small
,
medsmall
,
medium
,
medlarge
,
large
,
vlarge
,
huge
,
vhuge
,and
ehuge
.We
could also specify the sizes as a
relativesize
, which is either an absolute size or a multiple
of the original size of the marker (e.g., *2 is twice as large, or *.7 is .7 times as large). See
[
G
]
markersizestyle
for more information.
The electronic form of this topic is solely for direct use at UCLA and only by faculty, students, and staff of UCLA.