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

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by