bar3color(varargin)

Create a 3-dimensional barchart where the height of the bar chooses the color.

You are now following this Submission

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

Acknowledgements

Inspired: superbar

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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