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

 Akzeptierte Antwort

Sulaymon Eshkabilov
Sulaymon Eshkabilov am 20 Jun. 2021

1 Stimme

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