How can I put grouped stacked bar plots together in one figure?

조회 수: 6 (최근 30일)
Hello,
I have created 4 grouped stacked bar plots using the following function:
What I need is to put all of them together in one figure. I have tried 'subplot' and 'tiledlayout' methods but nothing seem to be working.
Any advice in this regard is highly appreciated.
Thank you.

채택된 답변

Sindar
Sindar 2020년 12월 15일
Try commenting out line 19 in the function file:
figure
it is probably what's interfering with your attempts to create subplots
  댓글 수: 1
Dilini Wickrama Achchige
Dilini Wickrama Achchige 2020년 12월 15일
Thank you Sindar.
Now it works with few adjustments made after commenting out 'figure' in the function file.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by