MATLAB - adding additional data to surface plot tooltip
26 ビュー (過去 30 日間)
古いコメントを表示
I have created a cylinder with the help of a surface plot and a 360x512 matrix with some data(named map100).
When i put my cursor over the cylinder i see my X,Y,Z on the tooltip as expected. However i would also like to see the matrix(map100) value for that point on the tooltip as well. Is this possible ? and if so how?
Any help is much appreciated..
0 件のコメント
回答 (1 件)
Walter Roberson
2020 年 11 月 5 日
See https://www.mathworks.com/help/matlab/creating_plots/create-custom-data-tips.html for R2019a and later.
I just confirmed that surf() do have the needed property.
9 件のコメント
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!