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!



