Any way to stack histograms?
4 ビュー (過去 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!