How to change the color of bars in MATLAB
Show older comments
I draw a bar diagram by MATLAB, it has three groups, that each group includes about 10 bars in different ranges, I want to color each of these 3 groups with 3 different color, could someone help me?
I am so thankful
Answers (1)
Jan
on 24 Apr 2013
0 votes
As you can imagine, other people wanted this also before. Then it is useful to look for existing answers and solutions at first:
2 Comments
ghazale
on 24 Apr 2013
Jan
on 24 Apr 2013
But ranges of bars consist of a set of specific bars. So I'm convinced that one of the examples can be modified until it matchs your needs. You could e.g. choose the one, which looks most promissing, try to modify it and ask a specific question here again, if problems occur.
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!