Library: | times |
See also: | timeplotlabel |
Quantlet: | timeplot | |
Description: | Generates a display that shows the time series x in multiple windows with user-specified maximum length per window. It is possible to label the abscissa in a yearly format. However, you can not specify the periodicity of the labels (in that case, use timeplotlabel). |
Usage: | timeplot(x {, len {,header}}) | |
Input: | ||
x | T x 1 vector of observed time series x | |
len (optional) | Integer (maximum length plotted in a window, default is 400 observations) | |
header (optional) | list object | |
header.name | name of time series x that will be shown in the display | |
header.origyear | specifies the year in which the series x begins | |
header.origperiod | specifies the period of origyear in which the series x begins | |
header.periodicity | periodicity of the time series x |
library("times.lib") ; loads the quantlets from times library dax = read("dax") ; monthly DAX 1979:1-2000:10 name = "DAX" origyear = 1979 origperiod = 1 periodicity = 12 header = list(name,origyear,origperiod,periodicity) t = timeplot(dax,rows(dax),header)
Generates a graphical display that shows the monthly DAX.