Code fpr percentage of each part within a stacked bar-chart?

1 回表示 (過去 30 日間)
Andreas
Andreas 2017 年 5 月 9 日
回答済み: Mandar Patwardhan 2017 年 5 月 11 日
Hello, does someone have a code fragment, which allows to show the percentage of each part within a stacked bar-chart?
Thank you

回答 (1 件)

Mandar Patwardhan
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.

カテゴリ

Help Center および File ExchangeBar Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by