Bar Fill Pattern problem in plot

조회 수: 20 (최근 30일)
Zafimandimby Mampiandra
Zafimandimby Mampiandra 2022년 4월 28일
댓글: DGM 2022년 4월 28일
Good morning.
I am plotting bar chart that I want to change the fill pattern for each bar. Can anybody help me to write the affiliated code?
This is an example of I want to plot
Thank you very much

채택된 답변

DGM
DGM 2022년 4월 28일
편집: DGM 2022년 4월 28일
  댓글 수: 7
Zafimandimby Mampiandra
Zafimandimby Mampiandra 2022년 4월 28일
Can you please help me to write the related code about the "legend" to match the bar chart.
Thanks
DGM
DGM 2022년 4월 28일
I see you already saw the examples on this post:
I think Simeon's example is the simpler of the two, though it would probably be easiest if you showed what your plotting code looks like so far and we can just adapt that instead.
For what it's worth, if you're having trouble getting everything from GitHub, you can just get it from here.
The legendflex() package includes getpos(), so you shouldn't need to get that separately. Just get legendflex and stick it in a folder and add the folder (and its subfolders) to the path.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by