Probing a plot based on colormap information
Mostra commenti meno recenti
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.

Risposta accettata
Più risposte (1)
KSSV
il 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 Commenti
Pelajar UM
il 10 Mar 2022
KSSV
il 10 Mar 2022
Yes you can. REad about this:
Pelajar UM
il 10 Mar 2022
Choose figure object
f = figure;
ax = gca;
d = datacursormode(f)
d2 = datacursormode(ax)
Pelajar UM
il 10 Mar 2022
Categorie
Scopri di più su Color and Styling in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



