フィルターのクリア

Creating stacked bar in matlab

2 ビュー (過去 30 日間)
Tanmoyee Bhattacharya
Tanmoyee Bhattacharya 2018 年 5 月 11 日
コメント済み: Star Strider 2018 年 5 月 11 日
I have a data like that
if true
% code
end
1971-2005 90 8.76 1.24
2006-2040 90.6 7 2.4
2041-2070 93 3 4
2006-2040 87 6 7
2041-2070 88 3.44 8.56
I want to create a stacked bar like the picture attached with.How to do it?

回答 (1 件)

Star Strider
Star Strider 2018 年 5 月 11 日
See the documentation for the boxplot (link) function.
  2 件のコメント
Tanmoyee Bhattacharya
Tanmoyee Bhattacharya 2018 年 5 月 11 日
Thank you sir.But I want to create a stacked bar.The image attached was wrong.Now I attach a image that I want to do.
Star Strider
Star Strider 2018 年 5 月 11 日
My pleasure.
The original image was of a box plot.
See the bar (link) function documentation section Display Stacked Bars (link).

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by