line
Generate a line object in the designated axes
Syntax
y = line ( x,y[=""] )
y = line ( handle,x,y[=""] )
y = handle.line ( x,y[=""] )
Inputs
| Argument | Type | Description | Unit |
|---|---|---|---|
handle | graphics handle | handle to the axes | n/a |
x | VECT or audio | x-data | - |
y | VECT or audio | y-data | - |
Outputs / Return Value
y:yis the handle to the line object
Notes
- This is a low-level version of the plot function.
- This simply adds a line object to the axes, as opposed to following the "nextplot" property in the plot function.
- If
handleis omitted, this function creates a new figure window and plots - If
yis specified,yis plotted as a function ofx. - If
yis omitted,xis plotted with the index (if non-audio) or the time (if audio) on the x-axis.
See Also
Review Status
- Legacy parameter naming does not exactly match current engine metadata and should be reviewed manually.