FUNCTION REFERENCE

axes

Create axes or make axes current.

Create axes or make axes current.

Syntax

axes

Syntax

h = axes()

Syntax

h = axes('Position', [left bottom width height])

Syntax

axes(h)

With no arguments it creates axes at the default position [0.13 0.11 0.775 0.815] in the current figure, or in a new figure if there is none. Name-value pairs: Parent (a figure handle), Position (normalized), Units ('normalized'), NextPlot ('add' or 'replace'). axes(h) makes the axes h current.

Example

figure; h = axes('Position', [0.1 0.1 0.8 0.8]); get(h, 'Position')   % [0.1 0.1 0.8 0.8]

Differences from MATLAB: Not checked against MATLAB yet. h = axes without parentheses is not supported yet; write h = axes(). Axes may not overlap, and other properties are rejected.

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