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.
Zitieren als
John Barber (2025). ccbar (https://www.mathworks.com/matlabcentral/fileexchange/30445-ccbar), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |