MATLAB: How to plot vectors

plotting vectors

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

Best Answer

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