Graphics Reference
In-Depth Information
Let's now consider options you can use with the
rconnected
,
rscatter
,
rline
,and
rarea
graphs. We will start by looking at
rconnected
plots since many of the options used
in that kind of graph also apply to
rscatter
,
rline
,and
rarea
graphs. These graphs will
be shown using the
vg s1c
scheme.
twoway rconnected high low tradeday, sort
Here is a general
rconnected
graph.
Uses spjanfeb2001.dta & scheme vg s1c
0
10
20
30
40
Trading day number
twoway rconnected high low tradeday, sort
horizontal
xtitle(Title for x-axis) ytitle(Title for y-axis)
With the
horizontal
option, you can
swap the axes where
high
/
low
and
tradeday
appear. Note that the
x
-axis
remains at the bottom and the
y
-axis
remains at the left.
Uses spjanfeb2001.dta & scheme vg s1c
1200
1250
1300
1350
1400
Title for x−axis
The electronic form of this topic is solely for direct use at UCLA and only by faculty, students, and staff of UCLA.