Any way to stack histograms?
조회 수: 2 (최근 30일)
이전 댓글 표시
I have 11 matrices, each that I want to pull the 9th column from it and plot a stacked histogram (each matrix would need to have a separate color associated with the histogram stack). If I can't do a stacked histogram, can I do a bar chart that would look exactly like a stacked histogram? Thanks!
댓글 수: 0
답변 (2개)
Teja Muppirala
2012년 10월 12일
Can you use the 'stacked' option, as described in the help for BAR?
bar(rand(10,5),'stacked'), colormap(cool)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!