How to plot two bar plot in the same figure?
古いコメントを表示
Dear all,
I am wondering how to make a figure in matlab composed by two bar plots, the first contentive of several vaklues I want to make this stacked, this is a easy going job, but the problem arise when I attemp to set another bar plot next to the first one (the stacked), I need to make this in order to make a comparison.

I attempted with this but it does not work Y1=bar([U1, 'stacked'], [Mean], barWidth);
In the end, I just want to set a non-stacked bar plot next to the corresponding stacked one, like the black one I have drawn in the figure above. Just to remark it should not be overlapped but I did not have enough spafe in between the stacked ones.
I kindly ask for your insights in this matter.
Best regards
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Axis Labels についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





