3D Plot of an 3D Matrix

Hi,
i have a 3D Matrix (30x8x15) and each matrix index have a value. I would like to have a plot wich shows the index in 3 dimentions and the value e.g. in a heatmap / color
Is here a Matlab crack who can give me a simple example ?
% generate sample Matrix
Matrix = [1 2 3; 4 5 6; 7 8 9]
Matrix(:,:,2)=[10 11 12;13 14 15;16 17 18]
% would like to have something like this
surf(Matrix,Colormap)

Respuestas (1)

Walter Roberson
Walter Roberson el 26 de Dic. de 2019

0 votos

See "vol3d v2" in the file exchange

Categorías

Más información sobre Line Plots en Centro de ayuda y File Exchange.

Productos

Versión

R2017b

Etiquetas

Preguntada:

el 26 de Dic. de 2019

Respondida:

el 26 de Dic. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by