Firstly read the values of the bins in some variables and use num2str to convert it into string and use text to postion it.
histfit (adding values to histogram bins)
6 次查看(过去 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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!