www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/BarWidthExample.m
%% Specify Bar Width % Set the width of each bar to 40 percent of the total space available for each % bar. % Copyright 2015 The MathWorks, Inc. %% y = [75 91 105 123.5 131 150 179 203 226 249 281.5]; bar(y,0.4)