How to plot like this ?

1 回表示 (過去 30 日間)
Jeevan Kumar Bodaballa
Jeevan Kumar Bodaballa 2020 年 9 月 28 日
I found an image from statista. I’d like to plot like that in matlab is it possible ?
  3 件のコメント
Adam Danz
Adam Danz 2020 年 9 月 29 日
In Matlab, that plot can be reproduced by a bar plot plus 4 patch objects. You'll need to know the properties of bar objects to understand how the bar width and interval can be grabbed. From there, it's just figuring out how to use those values to compute the patch perimeters.
Alternatively, the entire plot could be produced with patch objects alone. I haven't thought about which approach would be easiest.
Jeevan Kumar Bodaballa
Jeevan Kumar Bodaballa 2020 年 9 月 29 日
Thanks for valuable comments 😊

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

回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by