Graphics Reference
In-Depth Information
We will now explore options that can be used with
twoway rbar
, and we will switch to
using the
vg brite
scheme.
twoway rbar high low tradeday
Here is a basic
rbar
graph with the
default options. As with the other
graphs in this family, we could have
added the
horizontal
option to switch
the position of the
high
/
low
and
tradeday
variables, but this is not
shown.
Uses spjanfeb2001.dta & scheme
vg brite
0
10
20
30
40
Trading day number
twoway rbar high low tradeday,
barwidth(.7)
The
barwidth()
option can be used to
set the width of the bar. This width is
in units of the
-variable. We set the
bars to be .7 units wide, so they no
longer touch each other.
Uses spjanfeb2001.dta & scheme
vg brite
x
0
10
20
30
40
Trading day number
The electronic form of this topic is solely for direct use at UCLA and only by faculty, students, and staff of UCLA.