How to plot vectors

6 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


Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!