Probing a plot based on colormap information
Show older comments
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.

Accepted Answer
More Answers (1)
KSSV
on 10 Mar 2022
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 Comments
Pelajar UM
on 10 Mar 2022
KSSV
on 10 Mar 2022
Yes you can. REad about this:
Pelajar UM
on 10 Mar 2022
Choose figure object
f = figure;
ax = gca;
d = datacursormode(f)
d2 = datacursormode(ax)
Pelajar UM
on 10 Mar 2022
Categories
Find more on Color and Styling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


