MAKEDATATIP

版本 1.1.0.0 (2.5 KB) 作者: Tim Farajian
Allows programmatically adding datatips to any valid graphical object.
6.8K 次下载
更新 2012/6/27

查看许可证

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);

引用格式

Tim Farajian (2026). MAKEDATATIP (https://ww2.mathworks.cn/matlabcentral/fileexchange/19877-makedatatip), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
版本 已发布 发行说明
1.1.0.0

Included a BSD license.
Updated to allow additional objects including scatter plots and images.

1.0.0.0