How to plot vectors

3 vues (au cours des 30 derniers jours)
Baby Sri Laya Attunuru
Baby Sri Laya Attunuru le 20 Juin 2021
How can i create a histogram of density with the histogram function and how can i Set the "FaceColor" to yellow ("y") ?

Réponse acceptée

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

Plus de réponses (1)

SALAH ALRABEEI
SALAH ALRABEEI le 20 Juin 2021

Community Treasure Hunt

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

Start Hunting!

Translated by