Changing face color in MATLAB grouped bar charts

I know how to change the color of the bars when bar charting a single series in MATLAB. How do you do this though with a grouped bar chart? Using the same method as I would normally use for a single bar chart just changes both groups of bars to the same color.

 Akzeptierte Antwort

Sayan Saha
Sayan Saha am 11 Mai 2018

1 Stimme

Here is an example from the documentation showing how to change color of the individual bars for a grouped bar chart:

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by