Drag and Drop(Line Objects)
this function provides drag and drop of any line objects in an axes within a figure window;
to use this:
just give the handle of the figure or figures that you want to have D&D functionality associated with it to the Mouse_over_lineObj function and you done!
usage:
1) you can drag and drop a line object from one axes to another either within the same figure or on a different figure.
2) you can also drop the line object to outside of a figure in which case it will provide a separate figure, axes, and other interactive tools for you.
3) function is maintainable and very easy to be included with any GUI tools.
4) easy to read and understand.
5) and a lot of modification and customization can be added to it.
6) that is it ENJOY IT.
Citation pour cette source
rasam aliazizi (2025). Drag and Drop(Line Objects) (https://fr.mathworks.com/matlabcentral/fileexchange/33041-drag-and-drop-line-objects), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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.
Drag And Drop/
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
