Coloured bar chart

Simple wrapper to bar allowing you to specify bar colors and labels.
1,1K téléchargements
Mise à jour 29 nov. 2014

Afficher la licence

Quite frequently you want to color the bars in a bar chart according to your own scheme - e.g. to highlight an anomalous measurement in red. The bar function doesn't make it easy to do this, but there is a way.
Also, only occasionally do you want the x-axis labels to be the default 1 2 3 ... So for convenience this function takes a series, a colour vector, and a list of labels.

Citation pour cette source

Malcolm McLean (2024). Coloured bar chart (https://www.mathworks.com/matlabcentral/fileexchange/29882-coloured-bar-chart), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Bar Plots dans Help Center et MATLAB Answers
Remerciements

A inspiré : superbar

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.2

Toolbox

1.0.0.0