%% Horizontal Bar Graph of Single Data Series
% Create a horizontal bar graph of vector data. 

% Copyright 2015 The MathWorks, Inc.


y = [57,91,105,123,131,150,...
     170,203,226.5,249,281.4];
figure
barh(y)

%%
% |barh| draws one horizontal bar for each element in |y|.