linkdatatips

版本 1.4.0.0 (3.2 KB) 作者: Iram Weinstein
Creates and maintains linked datatips in all plots as the user moves around the first plot
913.0 次下载
更新 2010/5/18

查看许可证

I often find myself trying to compare the results of different functions z=f(x,y), using datatips in the plots. This function provides a way of exploring results in one plot while observing values in the other plots as well. Linkdtatips works with plots formed by image, imagesc, mesh,meshc, pcolor, surf and surfc.

Added feature. To shift the primary datatip focus to the kth plot, call again as linkdatatips(hg(k))

Linkdatatips is compatible with linkaxes.

EXAMPLE:
z = peaks(50);
figure
h(1) = imagesc(z);
figure
subplot 121
h(2) = surf(z.^2);
subplot 122
h(3)=mesh(z+3);
linkdatatips(h);

引用格式

Iram Weinstein (2026). linkdatatips (https://ww2.mathworks.cn/matlabcentral/fileexchange/27266-linkdatatips), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Call Python from MATLAB 的更多信息
致谢

参考作品: MAKEDATATIP

版本 已发布 发行说明
1.4.0.0

Added feature. To shift the primary datatip focus to the kth plot, call again as linkdatatips(hg(k))

Also, default behavior of the datatip is now SnapToDataVertex.

1.3.0.0

Added tags

1.0.0.0