%% Set Axis Limits
% Plot the sine function.

% Copyright 2015 The MathWorks, Inc.


%%
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])