Bar graph grouped bar property
古いコメントを表示
I'm trying to plot several data series in a bar graph, and group the bars. However, when I use the below code, the bars are overlapped and not grouped.
for i=1:5
h(i)=bar(0:10,histc(data{i},0:10),'grouped');
set('MarkerEdgeColor,color{i},'MarkerFaceColor',color{i})
end
2 件のコメント
Walter Roberson
2013 年 3 月 12 日
Are the data{i} all the same shape? What is size(data) ?
Jared
2013 年 3 月 12 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Bar Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!