Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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

Example:
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)

Result:
Generates a graphical display that shows the monthly DAX.



Author: R. Chen, C. Hafner, W. Haerdle, 20010911 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006