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!