axes
Set the current axes or create a new axes
Syntax
y = axes ( h_or_pos )
y = h_or_pos.axes ( )
Inputs
| Argument | Type | Description | Unit |
|---|---|---|---|
h_or_pos | graphics handle or VECT | handle to the axes or 4-element vector with the position to create a new axes in | n/a |
Outputs / Return Value
y:yis the handle to the axes object
Notes
- The position is a 4-element vector in proportion to the window size showing the following: top left width height, with the reference of the bottom left corner of the screen.
- This function creates an axes in the current figure window. If no current figure window is available, a new one is created.
Examples
h = axes([.08 .18 .86 .5]) // create a new axes in the current figure window
axes(hPrev) // set hPrev as the current axes
See Also
Review Status
- Legacy parameter naming does not exactly match current engine metadata and should be reviewed manually.