Version (1.94 KB) by Manu R
Creates a 3-D bar chart where bars are placed in user specified X-Y locations.
Updated 1 Sep 2016

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

SCATTERBAR3(X,Y,Z,WIDTH) draws 3-D bars of height Z at locations X and Y with width WIDTH. X, Y and Z must be of equal size. If they are vectors, than bars are placed in the same fashion as the SCATTER3 or PLOT3 functions. If they are matrices, then bars are placed in the same fashion as the SURF and MESH functions. The colors of each bar read from the figure's colormap according to the bar's height.

Cite As

Manu R (2024). SCATTERBAR3 (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Bar Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated license