Create a 3-dimensional barchart where the height of the bar chooses the color.
Updated 31 Mar 2016

View License

The bar3 function was modified to make the color map variable, cc, match the height variable, zz. The cc variable has the height for each of the faces of the bar. Seven lines of code were added to bar3 to modify the color map.

Cite As

William Murphy (2024). bar3color(varargin) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: superbar

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated the file so that it now has the BSC license. It is a minor modification of the existing bar3() function.