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.

Weitere Antworten (1)

See if the bar3 function does what you want.

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by