Histogram Colors Not True
Mostra commenti meno recenti
I have a histogram, and I am trying to change its color using:
set(get(gca,'child'),'FaceColor','k')
However, when I do this, the color comes out more of a gray than black. The same thing happens with red--it comes out more of a pink! Any ideas?
Risposta accettata
Più risposte (1)
Image Analyst
il 7 Mag 2015
Plot it with bar and change the color there
bar(bins, counts, 'FaceColor', 'b', 'BarWidth', 1);
Categorie
Scopri di più su Data Distribution Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!