DRAWLINE Draw a straight line clipped by the current axis.
drawLine(LINE);
Draws the line LINE on the current axis, by using current axis to clip
the line.
drawLine(LINE, PARAM, VALUE);
Specifies drawing options.
H = drawLine(...)
Returns a handle to the created line object. If clipped line is not
contained in the axis, the function returns -1.
Example
figure; hold on; axis equal;
axis([0 100 0 100]);
drawLine([30 40 10 20]);
drawLine([30 40 20 -10], 'Color', 'm', 'LineWidth', 2);
drawLine([-30 140 10 20]);
See also:
lines2d, createLine, drawEdge
---------
author : David Legland
INRA - TPV URPOI - BIA IMASTE
created the 31/10/2003.
Package: matgeom