Probing a plot based on colormap information
古いコメントを表示
How can I probe a plot with colormap data?
As you see, in this case, it only shows the xyz coordinates which is not really useful. I want to be able to see the colormap value (between 0 and 1).
Any ideas? I am using the trisurf function.

採用された回答
その他の回答 (1 件)
KSSV
2022 年 3 月 10 日
I don't think you would be able to see the values like that. But you can see what value it has using:
F = scatteredInterpolant(x,y,z,c) ;
ci = F(xi,yi,zi) ; % where xi, yi, zi is the picked point
5 件のコメント
Pelajar UM
2022 年 3 月 10 日
KSSV
2022 年 3 月 10 日
Yes you can. REad about this:
Pelajar UM
2022 年 3 月 10 日
Choose figure object
f = figure;
ax = gca;
d = datacursormode(f)
d2 = datacursormode(ax)
Pelajar UM
2022 年 3 月 10 日
カテゴリ
ヘルプ センター および File Exchange で Color and Styling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



