subplot
Create axes in tiled positions.
Syntax
subplot(m, n, p)
subplot('mnp')
subplot('Position', pos)
ax = subplot(...)
Input argument
m - Number of grid rows: scalar positive integer.
n - Number of grid columns: scalar positive integer.
p - Grid position for new axes: scalar or vector.
pos - Custom position for new axes: [left bottom width height].
Output argument
ax - a graphics object: axes type.
Description
subplot(n, m, p) divides the current figure into a 2-dimensional grid.
Each of which can contain a plot of some kind.
Examples
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated