Output of histfit without the plot
Ältere Kommentare anzeigen
Is there a way to get the fitted curve generated by histfit without it being plotted? I want the curve it generates, but I don't want the plot it generates. Thanks times a million in advance.
Bill
Akzeptierte Antwort
Weitere Antworten (1)
Babar
am 27 Mai 2022
0 Stimmen
r = normrnd(10,1,100,1); % Create Data
h = histfit(r,6);
set(gcf,'Visible','off')
CurveX = h(2).XData;
CurveY = h(2).YData;
Kategorien
Mehr zu Lengths and Angles finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

