Back to Plotting
subplot
Select a pane in a multi-plot grid.
Syntax
subplot(rows, cols, index) → Nothing
Backends
TypeScript
Description
Select a pane in a multi-plot grid.
Parameters
| Name | Description |
|---|---|
| rows | Grid rows |
| cols | Grid columns |
| index | Active pane (1-based) |
Returns
Nothing
Examples
Try It
>> subplot(2, 1, 1)