drag Line with callback
Version 1.0.0.0 (5,01 ko) par
chen xinfeng
[set & get& drag] the line in figure, and get its [draggin-callback] as your wish.
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
Citation pour cette source
chen xinfeng (2026). drag Line with callback (https://fr.mathworks.com/matlabcentral/fileexchange/54857-drag-line-with-callback), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2014b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Remerciements
Inspiré par : Graphical data selection tool
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
