%% Plot Single Data Series
% Create a stem plot of 50 data values between -2\pi and 2\pi.

figure
Y = linspace(-2*pi,2*pi,50);
stem(Y)

% Data values are plotted as stems extending from the baseline and terminating at the data value. The length of Y automatically determines the position of each stem on the x-axis.
% Copyright 2015 The MathWorks, Inc.