bar3color(varargin)

Create a 3-dimensional barchart where the height of the bar chooses the color.
2.5K Downloads
Updated Thu, 31 Mar 2016 12:13:09 +0000

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) (https://www.mathworks.com/matlabcentral/fileexchange/23439-bar3color-varargin), MATLAB Central File Exchange. Retrieved .

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

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
1.1.0.0

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

1.0.0.0