axes
Create or activate axes within a figure.
Syntax
Section titled “Syntax”h = axesh = axes(h, ...)Description
Section titled “Description”Creates new axes in the current figure, or activates the axes referenced by handle h. Subsequent plot commands target the active axes. Trailing name-value pairs set axes properties ('XLim', 'YScale', etc.).
Examples
Section titled “Examples”h = axes;axes('XLim', [0 10])