Code covered by the BSD License  

Highlights from
EzyFit 2.42

image thumbnail

EzyFit 2.42


Frederic Moisy (view profile)


27 Feb 2006 (Updated )

A free curve fitting toolbox for Matlab

getlineinfo (Ezyfit Toolbox)
getlineinfo (Ezyfit Toolbox)
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' 
or 'slope' (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-2014 EzyFit Toolbox 2.42

Contact us