%% Modify Scatter Series After Creation
% Create a scatter plot and return the scatter series object, |s|.

% Copyright 2015 The MathWorks, Inc.


theta = linspace(0,1,500);
x = exp(theta).*sin(100*theta);
y = exp(theta).*cos(100*theta);
s = scatter(x,y);
%% 
% Use |s| to query and set properties of the scatter series after it has
% been  created. Set the line width to |0.6| point. Set the marker edge
% color to blue.  Set the marker face color using an RGB triplet color.
% Starting in R2014b, you can use dot notation to set properties. If you
% are using an earlier release, use the <docid:matlab_ref.f67-432995>
% function instead.

s.LineWidth = 0.6;
s.MarkerEdgeColor = 'b';
s.MarkerFaceColor = [0 0.5 0.5];