FUNCTION REFERENCE

subplot

Select a grid cell for plotting and return its axes handle.

Select a grid cell for plotting and return its axes handle.

Syntax

subplot(rows, cols, index)

Syntax

h = subplot(rows, cols, index)

Syntax

subplot('Position', [left bottom width height])

index may be a vector to span cells. Rows and columns are 1 to 16. Add 'replace' or 'align' as the fourth argument.

Example

h=subplot(2,1,1);get(h,'Type')   % 'axes'

Differences from MATLAB: Returns the axes handle; supports command syntax subplot 211.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.