Matlab:y轴沿y轴

时间:2013-05-25 21:25:01

标签: matlab matlab-guide

我正在生成数字,但我无法找到更改ylabel allignment的方法,以便它沿着y轴。

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

enter image description here

2 个答案:

答案 0 :(得分:4)

请勿转置Ylabel

ylabel(Ylabel)

比较两行的输出

disp(Ylabel)
disp(Ylabel')

看到差异

答案 1 :(得分:2)

我想你可能想要旋转 ylabel:

ylabel('something','rotation',90)
相关问题