This function creates a 3D bar plot with arbitrary coloring for each individual bar from an MxN matrix.
Bar heights = elements of the matrix
Bar colors = (1) user-specified colormap or (2) MxNx3 array of RGB color vectors.
It returns a matrix of figure handles for the individual bars in case you want to make further changes.
Cite As
Johannes (2024). 3D colored bar plot (https://www.mathworks.com/matlabcentral/fileexchange/45916-3d-colored-bar-plot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: 4dbarchart(x,y,zl,zu,col,width,nset)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |