Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Matlab:y轴上的y标签_Matlab_Matlab Guide - Fatal编程技术网

Matlab:y轴上的y标签

Matlab:y轴上的y标签,matlab,matlab-guide,Matlab,Matlab Guide,我正在生成图形,但我找不到方法来更改ylabel对齐,使其沿y轴 plot(tvals(:,1:dim), Values(:,1:dim)) title(Title) xlabel(Xlabel) ylabel(Ylabel') 只是不要转置Ylabel: ylabel(Ylabel) 比较两行的输出 disp(Ylabel) disp(Ylabel') 要查看差异,请不要将标签转换为: ylabel(Ylabel) 比较两行的输出 disp(Ylabel) disp(Ylabel')

我正在生成图形,但我找不到方法来更改ylabel对齐,使其沿y轴

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

只是不要转置
Ylabel

ylabel(Ylabel)
比较两行的输出

disp(Ylabel)
disp(Ylabel')

要查看差异,请不要将
标签转换为

ylabel(Ylabel)
比较两行的输出

disp(Ylabel)
disp(Ylabel')

要查看差异,我想您可能需要旋转标签:

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

我想您可能需要旋转标签:

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

不要转置“Ylabel”不要转置“Ylabel”