%% Set Marker Properties  

% Copyright 2015 The MathWorks, Inc.


%% 
% Initialize the random-number generator to make the output of |rand| repeatable.
% Define vectors |x| and |y| as cosine and sine values with random noise. 
rng default
z = linspace(0,4*pi,250);
x = 2*cos(z) + rand(1,250);
y = 2*sin(z) + rand(1,250);  

%% 
% Create a 3-D scatter plot and set the marker edge color and the marker
% face color. Use |view| to change the angle of the axes in the figure. 
figure
scatter3(x,y,z,...
        'MarkerEdgeColor','k',...
        'MarkerFaceColor',[0 .75 .75])
view(-30,10)      

