matlab plot bar problem
显示 更早的评论
I want to use bar to present my data however I draw it as following pattern

I would like to ask how to draw the following situation

attach my code and data.
回答(1 个)
Matt J
2023-2-13
0 个投票
Are you asking how to stack the bars? If so, see this example:
类别
在 帮助中心 和 File Exchange 中查找有关 Discrete Data Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!