Code fpr percentage of each part within a stacked bar-chart?
5 次查看(过去 30 天)
显示 更早的评论
Hello, does someone have a code fragment, which allows to show the percentage of each part within a stacked bar-chart?
Thank you
0 个评论
回答(1 个)
Mandar Patwardhan
2017-5-11
Use the following link which shows how to plot a stacked bar chart.
After plotting the bar chart, use the following link to show the tip values at the stacked bars. The Y-Stacked value shows the value of the entire stack till that point. The Y-Segment shows the value of that particular stack segment.
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!