%% Set y-Axis Tick Values Back to Default Values
% Create a stem chart and specify the y-axis tick values. Then, set the y-axis tick values back to the default values.

stem(1:10)
yticks([0 5 10])

%

yticks('auto')

% Copyright 2012 The MathWorks, Inc.