IRIS Toolbox Reference Manual

## movetosubplot

Move an existing axes object or legend to specified subplot position

#### Syntax

    Ax = grfun.movetosubplot(Ax,M,N,P)
    Ax = grfun.movetosubplot(Ax,'bottom')
    Ax = grfun.movetosubplot(Ax,'top')

#### Input arguments

- `Ax` [ numeric ] - Handle to an existing axes object or legend.

- `M`, `N`, `P` [ numeric ] - Specification of the new position; see help on standard `subplot`.

#### Output arguments

- `AX` [ numeric ] - Handle to the axes or legend moved to the new position.

#### Description

The syntax with `'bottom'` and `'top'` places the axes centered at, respectively, the bottom or top of the figure window.

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.