www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/BarColorExample.m

    %% Specify Bar Color  
% Create a bar graph using red bars.   

% Copyright 2015 The MathWorks, Inc.


%%  
y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(y,'r')