Adjust the bar width dynamic for plotting

2 views (last 30 days)
leonidas86
leonidas86 on 8 Jun 2018
Answered: leonidas86 on 12 Jun 2018
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?

Answers (1)

leonidas86
leonidas86 on 12 Jun 2018
Can nobody help?

Community Treasure Hunt

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

Start Hunting!