%% Plot Multiple Lines
% Define |x| as 100 linearly spaced values between $-2\pi$ and $2\pi$.
% Define |y1| and |y2| as sine and cosine values of |x|. Create a line plot
% of both sets of data.

% Copyright 2015 The MathWorks, Inc.


x = linspace(-2*pi,2*pi);
y1 = sin(x);
y2 = cos(x);

figure
plot(x,y1,x,y2)