Graphics Reference
In-Depth Information
twoway rcap high low tradeday, blcolor(cranberry) blwidth(thick)
The blcolor() option is used to
control the color of the line, in this case
making the line cranberry. The
blwidth() option is used to set the
width of the line; in this case, the line is
made thick. Although it is not shown
here, you could also control the pattern
of the line with the blpattern()
option. See Options : Connecting (250)
for more details.
Uses spjanfeb2001.dta & scheme vg s2c
0
10
20
30
40
Trading day number
twoway rspike high low tradeday, blcolor(red) blwidth(thin)
The options used for rspike are
basically the same as those for rcap ,
except that the msize() option is not
appropriate since there are no markers
to size. Here, for example, we use
blcolor() and blwidth() to make the
lines red and thin.
Uses spjanfeb2001.dta & scheme vg s2c
0
10
20
30
40
Trading day number
twoway rcapsym high low tradeday, msymbol(Oh) msize(large)
The options used for rcapsym are
basically the same as for rcap , except
that you can use marker options to
select the marker that goes at the top
and bottom of each spike, and you can
also use marker label options to label
the markers (however, this is probably
not very useful and is not illustrated).
In this case, we use the msymbol()
option to place hollow circles at the end
of the spikes and the msize() option to
make the symbols large.
Uses spjanfeb2001.dta & scheme vg s2c
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.
Search WWH ::




Custom Search