Change aspect of different group of bars in a bar graph
1 view (last 30 days)
Show older comments
Hi all,
I have a matrix of data
if true
% Y = [741, 537, 146, 5; 1102, 1, 0, 0];
end
and I would like to plot a bar grouped graph with the first group of bar (741, 537, 146, 5) set to a particular aspect (I mean, color for individual bar, line width, and so on) and the second group (1102, 1, 0, 0) set to another aspect.
For example, I would plot the the two groups with the same pattern of colors for the bars, but with different lifestyle.
How could I achieve that ?
Thank you in advance for your answer.
0 Comments
Answers (0)
See Also
Categories
Find more on Bar Plots 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!