histfit (adding values to histogram bins)
조회 수: 14 (최근 30일)
이전 댓글 표시
Hello Everyone,
I am trying to show both PDF nad Histogram in one plot. Therefore, I am using histfit.
But what I need to do, is to show the values inside each bin on the plot (above each bin).
Is it possible?
Thanks.
댓글 수: 0
답변 (1개)
Ashish Mishra
2020년 12월 9일
Firstly read the values of the bins in some variables and use num2str to convert it into string and use text to postion it.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!