%% Customize Vertical Axis Tick Labels
% Define y as a vector of four values, and display the values in a horizontal bar graph. Then call the yticklabels function to change the tick labels on the vertical axis.

y = [10 20 30 41];
barh(y)
yticklabels({'April','May','June','July'})

% Copyright 2019 The MathWorks, Inc.