IRIS Toolbox Reference Manual

## highlight

Highlight specified range or date range in a graph

#### Syntax

    [Pt,Cp] = highlight(Range,...)
    [Pt,Cp] = highlight(Ax,Range,...)

#### Input arguments

- `Range` [ numeric ] - X-axis range or date range that will be highlighted.

- `Ax` [ numeric ] - Handle(s) to axes object(s) in which the highlight will be made.

#### Output arguments

- `Pt` [ numeric ] - Handle to the highlighted area (patch object).

- `Cp` [ numeric ] - Handle to the caption (text object).

#### Options

- `'caption='` [ char ] - Annotate the highlighted area with this text string.

- `'color='` [ numeric | [0.9,0.9,0.9] ] - An RGB color code or a Matlab color name.

- `'excludeFromLegend='` [ `true` | `false` ] - Exclude the highlighted area from legend.

- `'hPosition='` [ 'center' | 'left' | 'right' ] - Horizontal position of the caption.

- `'vPosition='` [ 'bottom' | 'middle' | 'top' | numeric ] - Vertical position of the caption.

#### Description

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.