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!