How to do a 3D plot of a grid with scalar values at every postion?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everybody,
I have a threedimensional array that represents a grid with scalar values at every position. Apart from being a little bit bigger and with non-fictional values, something like this:
A(1,1,1) = 1;
A(2,1,1) = 2;
A(1,2,1) = 3;
A(1,1,2) = 4;
A(2,2,1) = 5;
A(2,1,2) = 6;
A(1,2,2) = 7;
A(2,2,2) = 8;
Now I want to visualize it, that there is a point at every postion with a colour depending on the value of the postion. Something like this:
or like this:
Thanks in advance for your help!
0 commentaires
Réponses (1)
James Ryland
le 11 Mai 2017
You might want to try this, it is a full fledged matlab application for visualizing 3D density matrices. It was designed to work with fmri and mri but it can handle arbitrary 3D arrays stored as .mat files. Right now I'm going through the matlab answers looking for questions that might be addressed by this software. Let me know if it works!
https://www.mathworks.com/matlabcentral/fileexchange/59161-volumetric-3?s_tid=srchtitle
0 commentaires
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!