www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/CreateBarChartWithTransparencyExample.m
%% Create Bar Chart with Transparency % Create a semitransparent bar chart by setting the |FaceAlpha| property of % the bar series object to a value between 0 and 1. Display the grid lines. % Copyright 2015 The MathWorks, Inc. month = 1:5; sales = [10 25 85 35 16]; bar(month,sales,'FaceAlpha',.5) grid on