%% Horizontal Bar Graph of Matrix Data
% Load the data set count.dat, which returns a three-column matrix, count. Store y as the first six rows of count.

load count.dat
y = count(1:6,:);

%
% Create a horizontal bar graph of matrix y.

figure 
barh(y)

% Copyright 2015 The MathWorks, Inc.