Graphics Reference
In-Depth Information
twoway scatter propval100 faminc, ylabel(, nolabel )
We could suppress the labels using the
nolabel option, and only the ticks
would be shown.
Uses allstatesdc.dta & scheme vg s1c
15000
20000
25000
30000
1979 Median Family Inc.
twoway scatter propval100 region
If a variable has meaningful value
labels, we can display the value labels
in place of the values. For example, we
can look at the propval100 broken
down by census region, but we do not
know which regions correspond to the
values1to4.
Uses allstatesdc.dta & scheme vg s1c
1
2
3
4
Census region
twoway scatter propval100 region, xlabel(, valuelabels)
If we include the xlabel(,
valuelabels) option, the value labels
are displayed instead, making the graph
much easier to understand.
Uses allstatesdc.dta & scheme vg s1c
NE
N Cntrl
South
West
Census region
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