Snaps the 2D line object LINE_OBJ to one of the following constraints -
a. Other set of lines.
b. Defined grid.
c. Mouse cursor (no constraint).
Cite As
Lior Cohen (2024). Snap Line (https://www.mathworks.com/matlabcentral/fileexchange/7260-snap-line), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Graphics Object Properties in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: RTslider
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |