| Statistics Toolbox | Search  Help Desk |
| gline | See Also |
Interactively draw a line in a figure.
Syntax
gline(fig) h = gline(fig) gline
Description
gline(fig) draws a line segment by clicking the mouse at the two end-points of the line segment in the figure, fig. A rubber band line tracks the mouse movement.
h = gline(fig) returns the handle to the line in h.
gline with no input arguments draws in the current figure.
See Also
refline,gname