MAKEDATATIP
MAKEDATATIP allows programmatically adding datatips to some graphical objects.
Updated to allow adding datatips to additional handle objects including scatter plots and images. If there are other object types you want supported that do not currently work, please let me know.
Example:
x = 1:10;
y = rand(1,10);
hPlot = plot(x,y);
makedatatip(hPlot,[3 8])
Example:
[X,Y,Z] = peaks(30);
hObj = surf(X,Y,Z);
I = [5 8; 20 12; 22 28];
hDatatip = makedatatip(hObj, I);
Citation pour cette source
Tim Farajian (2024). MAKEDATATIP (https://www.mathworks.com/matlabcentral/fileexchange/19877-makedatatip), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : Programmatically Datatip Generation with Matlab Implementation, linkdatatips
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.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Included a BSD license.
|
||
1.0.0.0 |