%% Specify Stem and Marker Options  
% Create a stem plot and set the line style to a dotted line, the marker
% symbols to diamonds, and the color to red using the |LineSpec| option.   

% Copyright 2015 The MathWorks, Inc.


%%  
figure
X = linspace(0,2*pi,50)';
Y = (exp(X).*sin(X));
stem(X,Y,':diamondr')    

%%
% To color the inside of the diamonds, use the |'fill'| option.   
