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

stem(1:10)
xticks([0 4 6 10])

%

xticks('auto')

% Copyright 2012 The MathWorks, Inc.