%% Specify Bar Width for 3-D Bar Graph
% Load the data set count.dat, which returns a three-column matrix, count. Store Z as the first 10 rows of count.

load count.dat
Z = count(1:10,:);

%
% Create a 3-D bar graph of Z and set the bar width to 0.5.

width = 0.5;

figure
bar3(Z,width)
title('Bar Width of 0.5')

% Copyright 2015 The MathWorks, Inc.