Statistics Toolbox    
gline

Interactively draw a line in a figure

Syntax

Description

gline(fig) allows you to draw a line segment in the figure fig by clicking the pointer at the two end-points. A rubber band line tracks the pointer 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


  geostat glmdemo