%% Specify Horizontal Bar Locations
% Define |x| and |y| as vectors of data. 

% Copyright 2015 The MathWorks, Inc.


x = 1900:10:2000;
y = [57,91,105,123,131,150,...
     170,203,226.5,249,281.4];
%%
% Create a horizontal bar graph of the data in |y|. Use |x|
% to specify the bar locations along the _y_-axis.

figure
barh(x,y)
