I'm generating figures and I can't find the way to change the ylabel allignment so that it is along y-axis.
plot(tvals(:,1:dim), Values(:,1:dim))
title(Title)
xlabel(Xlabel)
ylabel(Ylabel')
Just do not transpose the Ylabel
:
ylabel(Ylabel)
Compare output of the two lines
disp(Ylabel)
disp(Ylabel')
to see the difference
我认为您可能想旋转 ylabel:
ylabel('something','rotation',90)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.