n = tilenum(t, row, col)
n = tilenum(obj)
| Parameter | Description |
|---|---|
| t | TiledChartLayout object. |
| row | Row index: positive integer or array. |
| col | Column index: positive integer or array. |
| obj | Graphics object (axes) created by nexttile. |
| Parameter | Description |
|---|---|
| n | Tile number: positive integer, or NaN for out-of-range or edge tiles. |
tilenum(t, row, col) returns the tile number for the given row and column in the TiledChartLayout t.
tilenum(obj) returns the tile number of the tile occupied by the axes object obj.
Returns NaN for out-of-range indices or for edge tile axes.
t = tiledlayout(2, 3);
n = tilenum(t, 1, 2)
| Version | Description |
|---|---|
| 1.17.0 | initial version |