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

    %% Specify Bar and Outline Colors
% Set the bar interior color and outline color using RGB triplets. Set the width 
% of the bar outline.

% Copyright 2015 The MathWorks, Inc.


y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(y,'FaceColor',[0 .5 .5],'EdgeColor',[0 .9 .9],'LineWidth',1.5)