Graphics Reference
In-Depth Information
twoway rcap high low tradeday, sort
Here, we use rcap (range cap) to graph
the high and low prices with a spike and
a cap at each value of the
-variable. If
you used rspike instead, spikes would
be displayed but not caps. If we used
rcapsym , the caps would be symbols
and you could modify the symbol. See
Twoway : Range (64) for more details.
Uses spjanfeb2001.dta & scheme vg s2c
x
0
10
20
30
40
Trading day number
twoway rbar high low tradeday, sort
Here, we use the rbar to graph the
high and low prices with bars at each
value of the
-variable. See
Twoway : Range (64) for more details.
Uses spjanfeb2001.dta & scheme vg s2c
x
0
10
20
30
40
Trading day number
twoway histogram popk, freq
The twoway histogram command can
be used to show the distribution of a
single variable. It is often useful when
overlaid with other twoway plots;
otherwise, the histogram command
would be preferable. See
Twoway : Distribution (74) for more
details.
Uses allstates.dta & scheme vg s2c
0
5000
10000
15000
20000
Pop/1,000
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