%% Set Axis Limits
% Plot the sine function.

x = linspace(0,2*pi);
y = sin(x);
plot(x,y,'-o')

%
% Change the axis limits so that the x-axis ranges from 0 to 2\pi and the y-axis ranges from -1.5 to 1.5.

axis([0 2*pi -1.5 1.5])

% Copyright 2015 The MathWorks, Inc.