%% Clear Axes and Reset All Axes Properties
% Create a line plot and set the axis limits. 

% Copyright 2015 The MathWorks, Inc.


x = linspace(0,2*pi);
y = sin(x);

plot(x,y)
axis([0,5,-2,2])

%%
% Clear the line plot from the axes and reset all the axes properties to
% their default values. |cla reset| resets all properties of the current
% axes, except for the |Position| and |Units| properties.

cla reset
