ah = findobj(,'Type','axes'); % get all axes
set(ah,'FontSize',Whatever); %this will change all the tick labels
for m=1:numel(ah) % go over all axes
xlabel_handle = get(ah(m),'xlabel');
set(xlabel_handle,'FontSize',Whatever); % this will change only the label
%repeat for other labels if you wish
end
1 回答
您可以使用
findobj
以编程方式编辑所有数字 . 例如: