Clear Filters
Clear Filters

How to change the color of bars in MATLAB

1 view (last 30 days)
ghazale
ghazale on 24 Apr 2013
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
Jan on 24 Apr 2013
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
ghazale on 24 Apr 2013
I have seen other examples but they are differet, I want to color ranges of bar not just one or specific bar
Jan
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.

Sign in to comment.

Categories

Find more on Animation in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!