How to plot like this ?

3 次查看(过去 30 天)
Jeevan Kumar Bodaballa
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
Thanks for valuable comments 😊

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by