Change the border for histogram
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi, i have some histograms but i would like to know how can i tell to Matlab i want to finish at 1 instead of 0.9 for instance as the maximum. Is it possible to do that ? Because for me it is not so clear how Matlab does the borders for the histograms.
Many thanks :)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154279/image.png)
0 Commenti
Risposte (1)
Star Strider
il 21 Giu 2016
If you use histc or histcounts, you can define the bin edges. You would use the bar function to plot them.
Although histc is not going to be around much longer, it will probably do what you want more easily than the other functions.
0 Commenti
Vedere anche
Categorie
Scopri di più su Histograms in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!