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

stem(1:10)
xticks([1 4 6 10])
xticklabels({'A','B','C','D'})

%

xticks('auto')
xticklabels('auto')

%
% Copyright 2012 The MathWorks, Inc.