Adjust the bar width dynamic for plotting

Hello again I have another plotting problem. I have multiple data bases and I want to plot them with the bar function. But in some cases the bars look normal like:
and sometimes they look like:
I tried to change the bar width with 'BarWidth' for the second one and it helps but later when I plot the first one again the bars are much too wide... Is there a way to adjust the bar width dynamic?

回答 (1 件)

leonidas86
leonidas86 2018 年 6 月 12 日

0 投票

Can nobody help?

カテゴリ

質問済み:

2018 年 6 月 8 日

回答済み:

2018 年 6 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by