image thumbnail

3D colored bar plot

version 1.0.0.0 (1.92 KB) by Johannes
3D bar plot with arbitrary coloring

869 Downloads

Updated 17 Mar 2014

View License

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 (2021). 3D colored bar plot (https://www.mathworks.com/matlabcentral/fileexchange/45916-3d-colored-bar-plot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
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!