Mouse LINe with minimal step, no chunks

nonstop drawing/(removing via mouse click) lines
2.4K Downloads
Updated 29 Jan 2008

No License

Draws lines in current axis, typically for approximate selection of a ROI (Region Of Interest).

Produces (handles to) any number of lines per MLIN call. Works in 'YDir'='normal' mode and then recovers the original setting. Allows to repeat insuccessful drawing, removing last drawn or all lines at once. Allows to prevent too short steps when drawing slowly. LLine chunks outside of axes limits cleaned automatically.

Demos are given in help.

Cite As

Vassili Pastushenko (2024). Mouse LINe with minimal step, no chunks (https://www.mathworks.com/matlabcentral/fileexchange/18143-mouse-line-with-minimal-step-no-chunks), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Line chunks outside of axes limits cleaned automatically.