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!