drag Line with callback
You can [set & get& drag] the line(“dragLine”) position. When dragged, it can run your <own callback function_handle> by set the obj Interface.
[dragLine and dragRangle ] have almost the same properties and operation skill, but have 4 dragLine.
Tips:
The "zip" file have a "demo.m" may be helpful.
All written by 'classdef' technology.
Author:
Chen Xinfeng(陈昕枫,华中科技大学)
2016-1-12
Cite As
chen xinfeng (2024). drag Line with callback (https://www.mathworks.com/matlabcentral/fileexchange/54857-drag-line-with-callback), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Graphical data selection tool
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 |