matlab - Extending a line by dragging another object in a figure -
i have functions moving objects around in figure. figure populated lines. i'm trying attach 1 vertex object (or position fixed relative object) when drag object, line extends it. wouldn't have trouble doing this, imline(.) function returns line no 'position' property. there other way this?
you can , set position of underlying line graphic object using getposition
, setposition
methods of imline object. these should suffice update line drag attached object.
Comments
Post a Comment