How do I plot 3D data in MATLAB?

16 visualizaciones (últimos 30 días)
John
John el 7 de Nov. de 2011
Comentada: Vito Vekic el 10 de Mayo de 2022
My data is of the format (x,y,z,T), where x,y and z are axes indicating a point and T is the colour value at the specified point.
Thanks

Respuestas (2)

Walter Roberson
Walter Roberson el 7 de Nov. de 2011
pointsize = 8; %adjust at will
scatter3(x(:), y(:), z(:), pointsize, T(:));

Yi Zhang
Yi Zhang el 13 de Abr. de 2021
pointsize = 8; %adjust at will
scatter3(x(:), y(:), z(:), pointsize, T(:));
  2 comentarios
Bruno Credidio
Bruno Credidio el 28 de Mzo. de 2022
Why did you just copy Walter Roberson's answer?
Vito Vekic
Vito Vekic el 10 de Mayo de 2022
Based

Iniciar sesión para comentar.

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by