stacked bar graph from 3 columns
1 次查看(过去 30 天)
显示 更早的评论
I have this table T
T
X Y Z
1 0 5
1 1 3
1 2 3
2 0 6
2 1 0
2 2 7
how do I get a bar plot of Y stacked (X) vs Z (on the y axis) .
So it will be Y vs Z but Y will have two colors one for 1 and nother for 2.
2 个评论
dpb
2022-5-27
Not at all clear what you really intend here, sorry...can you sketch what you think result should be and attach the image?
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Bar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!