# 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") ?

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