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.
Johannes (2021). 3D colored bar plot (https://www.mathworks.com/matlabcentral/fileexchange/45916-3d-colored-bar-plot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!