IRIS Toolbox Reference Manual

## errorbar

Line plot with error bars

#### Syntax

    [LL,EE,Range] = errorbar(X,B,...)
    [LL,EE,Range] = errorbar(Range,X,B,...)
    [LL,EE,Range] = errorbar(AA,Range,X,B,...)
    [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 ] - 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.

- `B` [ 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

- `'dateformat='` [ char | irisget('plotdateformat') ] - Date format for the tick marks on the x-axis.

- `'datetick='` [ numeric | `Inf` ] - Vector of dates locating tick marks on the x-axis; Inf means they will be created automatically.

- `'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 built-in `plot` function for other options available.

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.