Graphics Reference
In-Depth Information
twoway scatter ownhome borninstate, msymbol(X)
We can also specify msymbol(X) to use
a large X shape for the markers. We
could also use a lowercase x for smaller
markers. We cannot append an h since
we cannot make a hollow X.
Uses allstates.dta & scheme vg s2c
20
40
60
80
% born in state of residence
twoway scatter ownhome borninstate, msymbol(+)
Specifying msymbol(+) yields a plus
sign shape for the markers. As with the
X , we cannot make these hollow, nor is
there a symbol for a smaller version of
plus signs.
Uses allstates.dta & scheme vg s2c
20
40
60
80
% born in state of residence
twoway scatter heatdd cooldd, msymbol(p)
Here, we switch to the citytemp data
file to illustrate the use of the
msymbol(p) option to plot very small
points. Although each point is hard to
see because they are so small, we can
see the overall pattern of the data
because of the large number of points
and the strong trend in the data. See
Styles : Symbols (342) for more
information about symbols.
Uses citytemp.dta & scheme vg s2c
0
1000
2000
3000
4000
Cooling degree days
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