How to plot vectors

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

Accepted Answer

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 20 Jun 2021
A = ... % Your data
H = histogram(A);
H.FaceColor = 'y'; % Face Color
H.EdgeColor = 'r'; % Edge Color

More Answers (1)

SALAH ALRABEEI on 20 Jun 2021

Community Treasure Hunt

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

Start Hunting!

Translated by