EzyFit Function Reference | << Prev | Next >>

getlineinfo
Get information (length, angle) of a segment
Description `

    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: fitparam | Next: getslope

2005-2017 EzyFit Toolbox 2.45