%% Modify Stairstep Plot After Creation
% Create a stairstep plot of two data series and return the two stair objects.

X = linspace(0,1,30)';
Y = [cos(10*X), exp(X).*sin(10*X)];
h = stairs(X,Y);

%
% Use small circle markers for the first data series. Use magenta filled circles for the second series. Use dot notation to set properties.

h(1).Marker = 'o';
h(1).MarkerSize = 4;
h(2).Marker = 'o';
h(2).MarkerFaceColor = 'm';

% Copyright 2015 The MathWorks, Inc.