Time Series Line Plot

Time series line plots use the date information in a timeSeries object to plot a set of lines for the values in the timeSeries object.

To generate a time series line plot

Choose Graph __image\arrow5.gif Time Series__image\arrow5.gif Line Plot. The dialog shown below appears.

Data page

__image\timeseriesline1.gif

In the Time Series Line Plot dialog, the Data page has the following options:

Data

Time Series Data

Select an object of class "timeSeries" containing the time series data with associated time information.

Subset Rows

Enter an S-PLUS expression that identifies the rows to use in the analysis. To use all the rows in the data set, leave this field blank.

Variables

Series Variables

Select the columns containing the values to plot.

Save Graph Information

Save As

Enter the name for the object in which to save the results of the analysis.

Plot page

__image\timeseriesline2.gif

In the Time Series Line Plot dialog, the Plot page has the following options:

Plot Type

Type

Vary Style by Series

Vary Color

Check this box to vary the color used for the series.

Vary Symbol Style

Check this box to vary the symbol used for the series.

Vary Line Style

Check this box to vary the line style used for the series.

Include Legend

Check this box to include a legend on the graph.

Symbol/Line Color

Color

Select the color to use for symbols and lines. This is ignored if Vary Color by Group is specified.

Symbol

Symbol Style

Select the symbol style to use. This is ignored if Vary Symbol Style by Group is specified.

Symbol Size

Specify the size of symbol to use. This is the amount of character expansion to use relative to the device's standard size.

Line

Line Style

Specify the line style to use. This is ignored if Vary Line Style by Group is specified.

Line Width

Specify the line width to use. This is the width relative to the device's standard line width.

Titles page

__image\timeseriesline3.gif

In the Time Series Line Plot dialog, the Titles page has the following options:

Titles

Main Title

Specify a main title to add on the top of the page.

Labels

Y Axis Label

Specify a label for the y-axis.

Axes page

__image\timeseriesline4.gif

In the Time Series Line Plot dialog, the Axes page has the following options:

Scale

Y Scale

The scale to use for placing tick marks on the y-axis.

Grid

Include Reference Grid

Check this to include a reference grid on the plot.

Tick Marks

Include Tick Marks on Top Axis

Check this to include tick marks on the top axis.

Include Tick Marks on Right Axis

Check this to include tick marks on the right axis.