How to plot vectors

3 次查看(过去 30 天)
How can i create a histogram of density with the histogram function and how can i Set the "FaceColor" to yellow ("y") ?

采纳的回答

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

更多回答(1 个)

SALAH ALRABEEI
SALAH ALRABEEI 2021-6-20

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by