ccbar

Custom colorbar with multiple entries
417 Downloads
Updated 17 Feb 2011

View License

CCBAR creates a custom colorbar with multiple sections. The contents of the CCBar are given as an input, and can consist of one or more arrays of indexed or RGB color data. In addition, setting the contents of a section to the keyword 'colorbar' will place a copy of a normal colorbar in that section of the CCBar. Setting the contents to the keyword 'legend' will create a legend-like entry in that section.

A number of properties are available to control the display of the CCBar and its contents. See the help text for details and an example.

Important note: Currently, both 'colorbar' and 'legend' entries are static. Unlike normal colorbars and legends, they do not update when changes occur in the peer axes. A future release of CCBAR will address this issue.

This is a preliminary release. In addition to some missing features (horizontal locations, various display properties), there are probably a few bugs that I will address as soon as possible.

Cite As

John Barber (2024). ccbar (https://www.mathworks.com/matlabcentral/fileexchange/30445-ccbar), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0