histfit (adding values to histogram bins)
Ältere Kommentare anzeigen
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.
Antworten (1)
Ashish Mishra
am 9 Dez. 2020
0 Stimmen
Firstly read the values of the bins in some variables and use num2str to convert it into string and use text to postion it.
Kategorien
Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!