www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/RotateYAxisTickLabelsExample.m
%% 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)