plotting multiple surfaces out of a 3d variable

1 visualización (últimos 30 días)
Asliddin Komilov
Asliddin Komilov el 17 de Ag. de 2019
Respondida: Walter Roberson el 18 de Ag. de 2019
I have a matrix G(X,Y,Z) that I try to plot as surface for each value of X in the same plot , manually I could do a line of a code for each value of X using squeeze function, but since size(X)=365 it will not look very good )). is there any way to do it more wisely?
thanks
  5 comentarios
Walter Roberson
Walter Roberson el 17 de Ag. de 2019
Introduced in R2017a.
Look in the File Exchange for "vol3d v2"
Or perhaps you should just use slice https://www.mathworks.com/help/matlab/ref/slice.html
Asliddin Komilov
Asliddin Komilov el 18 de Ag. de 2019
vol3d did the job, put your answer to 'answer' so I can accept it. thanks

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 18 de Ag. de 2019
Look in the File Exchange for "vol3d v2"
Or perhaps you should just use slice https://www.mathworks.com/help/matlab/ref/slice.html

Más respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by