Horizontal Matlab, This MATLAB function creates a bar graph with one bar for each element in y.