I want to apply the same effect as imagesc to 3D matrix.
Here's my code
% some 3d matrix : temp = [100, 20, 15]
figure(1)
[x y z] = ind2sub(size(temp), find(temp));
plot3(z,y,x, 'r.')
The code result is as above.
However, I want to show the relative difference according to the value of the red dots above. What should I do?

 채택된 답변

KSSV
KSSV 2020년 11월 20일

0 개 추천

Read about scatter, scatter3.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2020년 11월 20일

답변:

2020년 11월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by