linkdatatips
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 (2025). linkdatatips (https://www.mathworks.com/matlabcentral/fileexchange/27266-linkdatatips), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
謝辞
ヒントを得たファイル: MAKEDATATIP
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!