%% Display Text After Each Tick Label
% Create a line chart. Display the tick labels along the y-axis with the text "M" after each value.

x = 1:10;
y = [17 25 27 28 33 32 33 34 33 35];
plot(x,y,'-V')
ytickformat('%g M')

% Copyright 2012 The MathWorks, Inc.