Graphics Reference
In-Depth Information
scatter workers2 faminc, title("Work Status and Income",
ring(0) placement(se) )
In this example, we use placement() to
position the title in the southeast
(bottom right corner) of the plot
region. The ring(0) option moves the
title inside the plot region.
Uses allstatesdc.dta & scheme vg s2c
Work Status and Income
15000
20000
25000
30000
1979 Median Family Inc.
scatter workers2 faminc, title("Work Status and Income",
ring(0) placement(4) )
If we instead specify the placement(4)
option (using a clockpos instead of
compassdir ), Stata makes a suitable
substitution, and the title is placed in
the bottom right corner.
Uses allstatesdc.dta & scheme vg s2c
Work Status and Income
15000
20000
25000
30000
1979 Median Family Inc.
10.5
Connecting points
Stata supports a variety of methods for connecting points using different values for the
connectstyle . These include l (lowercase L, as in line) to connect with a straight line, L to
connect with a straight line only if the current
-value, J
for stairstep, stepstair for step then stair, and i for invisible connections. For the next
few examples, let's switch to using the spjanfeb2001 data file, keeping only the data for
January and February of 2001. See [ G ] connectstyle for more information.
x
-value is greater than the prior
x
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