IRIS Toolbox Reference Manual

## barcon

Contribution bar graph for tseries objects

#### Syntax

    [H,Range] = barcon(X,...)
    [H,Range] = barcon(Range,X,...)
    [H,Range] = barcon(Ax,Range,X,...)

#### Input arguments

- `Ax` [ 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 ] - Input tseries object whose columns will be ploted as a contribution bar graph.

#### Output arguments

- `H` [ numeric ] - Handle(s) to the bars plotted.

- `Range` [ numeric ] - Actually plotted date range.

#### Options

- `'barWidth='` [ numeric | 0.8 ] - Width of bars as a percentage of the space each period occupies on the x-axis.

- `'colorMap='` [ numeric | get(gcf(),'colorMap') ] - Color map used to fill the contribution bars.

- `'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.

- `'evenlySpread='` [ `true` | `false` ] - Colors picked for the contribution bars are evenly spread across the color map.

- `'ordering='` [ 'ascend' | 'descend' | 'preserve' | numeric ] - Ordering of contributions with the same sign withinin each period; `'preserve'` means the original order will be preserved.

#### Description

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.