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

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

%

yticks('auto')
yticklabels('auto')

% Copyright 2012 The MathWorks, Inc.