How to do a 3D plot of a grid with scalar values at every postion?

2 Ansichten (letzte 30 Tage)
Philipp
Philipp am 9 Apr. 2014
Beantwortet: James Ryland am 11 Mai 2017
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!

Antworten (1)

James Ryland
James Ryland am 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

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by