How to plot a histogram object
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have an array of histogram objects.
figure;
hold on;
for i=1:filecount
foo(i)=[histogram(tmp2(:,:,i))];
end
Now I want to be able to plot an individual histogram, such as foo(3). Is there an easy way of doing it, other than having to go in to manually extract the parameters for plot()?
0 Commenti
Risposta accettata
dpb
il 21 Set 2018
bar(foo(3).BinEdges(2:end),foo(3).BinCounts)
or doc histogram recommends save/loadfig
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Histograms in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!