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.

More Answers (1)

See if the bar3 function does what you want.

1 Comment

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

Sign in to comment.

Tags

Asked:

on 22 Jul 2015

Commented:

on 22 Jul 2015

Community Treasure Hunt

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

Start Hunting!