2013-05-25 106 views
0

我正在生成数字,我无法找到改变ylabel对齐的方式,因此它沿着y轴。Matlab:沿Y轴的ylabel

plot(tvals(:,1:dim), Values(:,1:dim)) 
title(Title) 
xlabel(Xlabel) 
ylabel(Ylabel') 

enter image description here

+0

不要转你的“Ylabel” – zellus

回答

4

只要不调换Ylabel

ylabel(Ylabel) 

比较两条线的输出

disp(Ylabel) 
disp(Ylabel') 

看出差别

2

我想你可能要旋转的ylabel:

ylabel('something','rotation',90)