Graphics Reference
In-Depth Information
twoway scatter ownhome propval100, by(nsw)
The by(nsw) option is used here to
make separate graphs for states in the
North, South, and West. At the bottom
left corner, you can see a note that
describes how the separate graphs
arose. This is based on the variable
label for nsw ; if this variable had not
been labeled, it would have read Graphs
by nsw . See Options : By (272) for more
details about using the by() option.
Uses allstates.dta & scheme vg s2m
North
South
0
50
100
West
0
50
100
% homes cost $100K+
Graphs by Region North, South, or West
twoway scatter ownhome propval100, by(nsw, total )
The total option can be used within
the by() option to add an additional
graph showing all the observations.
Uses allstates.dta & scheme vg s2m
North
South
West
Total
0
50
100
0
50
100
% homes cost $100K+
Graphs by Region North, South, or West
twoway scatter ownhome propval100, by(nsw, total compact )
The compact option can be used to
make the graphs display more
compactly.
Uses allstates.dta & scheme vg s2m
North
South
West
Total
0
50
1000
50
100
% homes cost $100K+
Graphs by Region North, South, or West
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