I want to create a curve on the histogram?
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
reyadh Albarakat
am 26 Mai 2015
Bearbeitet: Thorsten
am 27 Mai 2015
Hi Guys, first of all I am beginner in Matlab, I did histogram to the data, now I want to create curve on the histogram which I made.
Thank you
Reyadh
1 Kommentar
Image Analyst
am 26 Mai 2015
What do you mean? Do you mean like you have a bar chart of the counts and you'd like to superimpose a smooth line/curve plot (like a Gaussian or something) on top of the bar chart?
Akzeptierte Antwort
Thorsten
am 26 Mai 2015
Bearbeitet: Thorsten
am 26 Mai 2015
If you want to plot something on top of your histogram, use
hold on
plot(your arguments here)
If you want to plot the histogram as a curve, use
H = hist(whatever);
plot(H)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!