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

    %% Modify Scatter Chart After Creation
% Create a scatter chart and assign the scatter object to the variable
% |ps|. 

th = pi/6:pi/6:2*pi;
r = rand(12,1);
ps = polarscatter(th,r,'filled')

%%
% Use |ps| to modify properties of the scatter object after it is created.
ps.Marker = 'square';
ps.SizeData = 200;
ps.MarkerFaceColor = 'red';
ps.MarkerFaceAlpha = .5;