Graphics Reference
In-Depth Information
twoway tsline close,
tlabel(01jan2001 30jun2001 01jan2002 ) tmtick(31mar2001 30sep2001)
We can use the tmtick() option to
include minor ticks instead.
Uses sp2001ts.dta & scheme vg s1c
1Jan01
30Jun01
1Jan02
Date
twoway tsline close,
tline(01apr2001 01jul2001 01oct2001)
The tline() option can be used to
include lines at certain time points.
Here, we place lines at the start of the
second, third, and fourth quarters.
Uses sp2001ts.dta & scheme vg s1c
1Jan01
1Apr01
1Jul01
1Oct01
1Jan02
Date
twoway tsline close,
ttext(1035 01apr2001 "Start of Q2", orientation(vertical))
We can use the ttext() option to add
text to the graph. The first coordinate
refers to the position on the
-axis, and
the second coordinate is the position on
the time axis in terms of the date.
Uses sp2001ts.dta & scheme vg s1c
y
1Jan01
1Apr01
1Jul01
1Oct01
1Jan02
Date
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