Histogram Colors Not True
이전 댓글 표시
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?
채택된 답변
추가 답변 (1개)
Image Analyst
2015년 5월 7일
Plot it with bar and change the color there
bar(bins, counts, 'FaceColor', 'b', 'BarWidth', 1);
카테고리
도움말 센터 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!