Creating charts in Matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
Does Matlab have this capability to draw a chart like below for example:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/694819/image.jpeg)
What I want to draw is I have different matrices (x axis- matrix number) and in each matrix I have character array that denotes a level of instability from 1 to 7 and I want to draw them like the chart above. For example for matrix 1, I have 60% of the points in level 1, 9% level 2, 2% level 3 and so on. Can I draw something like this in Matlab? If not, does anyone have any suggestions as to what platform I can use to perform this kind of processing?
댓글 수: 0
채택된 답변
per isakson
2021년 7월 25일
Yes, see the function, bar( ..., 'stacked' ). However, it lacks the 3D character of the bars.
댓글 수: 0
추가 답변 (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!