Adjust the bar width dynamic for plotting
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191101/image.png)
and sometimes they look like:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191102/image.png)
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?
0 commentaires
Réponses (1)
Voir également
Catégories
En savoir plus sur Bar Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!