Question : matlab 3D imagesc

6 vues (au cours des 30 derniers jours)
jinwoo lee
jinwoo lee le 20 Nov 2020
Réponse apportée : KSSV le 20 Nov 2020
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?

Réponse acceptée

KSSV
KSSV le 20 Nov 2020
Read about scatter, scatter3.

Plus de réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by