EzyFit Function Reference<< Prev | Next >> 
Get information (length, angle) of a segment

getlineinfo draws a line using the pointer, and displays the length and 
angle of the segment in the figure. The angle is in degrees by default, 
(zero angle for a horizontal line). 
[LEN, ANGLE, DX, DY] = getlineinfo returns the results. 
... = getlineinfo(OPT) specifies the angle property: OPT = 'rad', 
'deg', 'slope' or 'invslope' (default is 'deg').  OPT = 'angle' shows 
only the angle. 
Note: The Image Processing Toolbox is required. 
See Also
getslope, showslope. 
Published output in the Help browser 
   showdemo getlineinfo 

 Previous: fitparamNext: getslope 

2005-2016 EzyFit Toolbox 2.44