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

10 ビュー (過去 30 日間)
Dilini Wickrama Achchige
Dilini Wickrama Achchige 2020 年 12 月 12 日
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 Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by