Is there a function that can plot data points (Z) as a 3D bar based on their individual coordinates (X, Y)?

Is there a function that can plot data points (Z) as a 3D bar based on their individual coordinates (X, Y)? Instead of scatter3(...), I wish the data can be plotted as colored bar, the height of which is the value.

Más respuestas (1)

See if the bar3 function does what you want.

1 comentario

Thank you, but the bar3 function only plots M by N matrix and the bars are evenly distributed.

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Jul. de 2015

Comentada:

el 22 de Jul. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by