Histogram for Grouped Data
古いコメントを表示
Good evening,
I'm wondering if there is a way to plot different histograms on the same graph exploiting grouping variables. I know the function boxplot does it on its own, but I'm, wondering if there is a way to do it using histogram(.).
Basically I want to plot the variation for consumption for different age grups/income quintiles/etc which I have stored as categorical variables.
Can anyone help?
Thank you very much in advance!
Lorenzo
1 件のコメント
dpb
2016 年 12 月 29 日
W R2014b histcounts and histogram support categorical variables to at least some degree...w/o knowing precisely what your data are and what you want, whether directly out of the box solution or not, can't tell...
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Data Distribution Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
