getline
Select polyline with mouse
getline
is not recommended. Use one of the ROI classes instead,
described in Create ROI Shapes.
Description
[
lets you select a polyline in the current figure using the mouse. When you finish
selecting the polyline, xi
,yi
] = getlinegetline
returns the coordinates of the
polyline endpoints in xi
and yi
.
Use normal button clicks to add points to the polyline. A shift-, right-, or double-click adds a final point and ends the polyline selection. Pressing Return or Enter ends the polyline selection without adding a final point. Pressing Backspace or Delete removes the previously selected point from the polyline.
Input Arguments
Output Arguments
Version History
Introduced before R2006a