필터 지우기
필터 지우기

Change the border for histogram

조회 수: 7 (최근 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 CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by