%% Set Transparency for Specific Graphics Object
% Create a bar chart and a scatter chart. Set the transparency for the scatter series object to 0.5 without affecting the bar series object.

b = bar(1:10);
hold on
s = scatter(10*rand(10,1),10*rand(10,1),'filled','SizeData',200);
hold off
alpha(s,.5)

% Copyright 2015 The MathWorks, Inc.