How can i create a histogram of density with the histogram function and how can i Set the "FaceColor" to yellow ("y") ?

 채택된 답변

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 6월 20일

1 개 추천

A = ... % Your data
H = histogram(A);
H.FaceColor = 'y'; % Face Color
H.EdgeColor = 'r'; % Edge Color

카테고리

도움말 센터 및 File Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by