Plotting 3D magnitude image data

2 Ansichten (letzte 30 Tage)
Saba Malik
Saba Malik am 14 Jun. 2016
Hi all !
I have a 3D stack of images (512x512x90) which I have processed on a pixel-by-pixel basis to calculate the magnitude of force corresponding to each pixel.I want to now display this data as shown in the attached picture . From my understanding , I definitely need a 512x512x90 mesh grid and I need to use a scatter plot but scatter3 wouldn't work here as I am not plotting my X,Y,Z values ( I have combined the X,Y,Z force values into one number representing the force magnitude ).
Furthermore , I would like the magnitude values to correspond to the jet colormap scheme where red signified a large magnitude and blue a small magnitude .
I would essentially be plotting a 2D matrix with 512x512 values , 90 times in the z-direction , in order to get a box-like representation of my data . How can I do this ?
Please help !
Thanks ! Saba

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by