如何在Matlab中为多个子图设置一个“大而单独”的纵轴标签?
我尝试过搜索,但只找到了与matplotlib类似的问题,而不是Matlab。
提前感谢。
我尝试过搜索,但只找到了与matplotlib类似的问题,而不是Matlab。
提前感谢。
这里有些能帮助你的内容:
MyBox = uicontrol('style','text');
set(MyBox,'String','Your YLabel')
set(MyBox,'Position',[0,0,10,10])
%your subplot
h = axes('Position',[0 0 1 1],'Visible','off'); %add an axes on the left side of your subplots
set(gcf,'CurrentAxes',h)
text(.1,.45,'Your YLABEL',...
'VerticalAlignment','bottom',...
'HorizontalAlignment','left', 'Rotation', 90, 'FontSize',18)
ylabel
(比如第一个子图),然后使用这个相关问题来对齐它。 - Eitan T