%% Rotate y-Axis Tick Labels
% Create a stem chart and rotate the y-axis tick labels 90 degrees so that they appear vertically.

x = linspace(0,50,20);
y = x.^2;
stem(x,y)
ytickangle(90)

% Copyright 2012 The MathWorks, Inc.