Change aspect of different group of bars in a bar graph

4 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Bar Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by