User`s guide
18-3
line. The function uses a hand cursor over endpoints and a fleur cursor over the body
of the line.
• The imdistline function reference page now includes an example that shows how
to use the XData and YData properties of the associated image to express distance in
non-pixel units.
Compatibility Considerations
The Distance Tool's getAngleFromHorizontal method now returns a value between
0 and 180 degrees. Previously, this function incorrectly returned a value between 0 and
90. For an explanation of how getAngleFromHorizontal calculates this angle, see the
imdistline function.
setColor Method Accepts Predefined Color Strings
The setColor method of the imdistline, imline, impoint, and imrect functions
accepts an RGB triplet or the short- or long-name version of the MATLAB predefined
color names.