How to plot like this ?

조회 수: 1 (최근 30일)
Jeevan Kumar Bodaballa
Jeevan Kumar Bodaballa 2020년 9월 28일
댓글: Jeevan Kumar Bodaballa 2020년 9월 29일
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 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