Skip to content

errorbar (Series)

Line plot with error bars

Syntax

[LL, EE, Range] = errorbar(X, W, ...)
[LL, EE, Range] = errorbar(Range, X, W, ...)
[LL, EE, Range] = errorbar(AA, Range, X, W, ...)
[LL, EE, Range] = errorbar(X, Lo, Hi, ...)
[LL, EE, Range] = errorbar(Range, X, Lo, Hi, ...)
[LL, EE, Range] = errorbar(AA, Range, X, Lo, Hi, ...)

Input arguments

AA [ numeric ]

Handle to axes in which the graph will be plotted; if not specified, the current axes will used.

Range [ numeric | char ]

Date range; if not specified the entire range of the input tseries object will be plotted.

X [ tseries ]

Tseries object whose data will be plotted as a line graph.

W [ tseries ]

Width of the bands that will be plotted around the lines.

Lo [ tseries ]

Width of the band below the line.

Hi [ tseries ]

Width of the band above the line.

Output arguments

LL [ numeric ]

Handles to lines plotted.

EE [ numeric ]

Handles to error bars plotted.

Range [ numeric ]

Actually plotted date range.

Options

'relative=' [ true | false ]

If true, the data for the lower and upper bounds are relative to the centre, i.e. the bounds will be added to the centre (in this case, Lo must be negative numbers and Hi must be positive numbers). If false, the bounds are absolute data (in this case Lo must be lower than X, and Hi must be higher than X).

See help on tseries/plot.

Description

Examples