Change the border for histogram

4 ビュー (過去 30 日間)
abc abc
abc abc 2016 年 6 月 21 日
回答済み: Star Strider 2016 年 6 月 21 日
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 :)

回答 (1 件)

Star Strider
Star Strider 2016 年 6 月 21 日
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.

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by