subplot hoe to add a tile?
1 次查看(过去 30 天)
显示 更早的评论
subplot, how can I add a total title? neglect gtext. anyknow knows a better way? thankx
0 个评论
采纳的回答
Grzegorz Knor
2012-2-22
Try this code:
for i = 1:4
subplot(2, 2, i)
plot(rand(1, 10));
end
axes('Units','Normal','Position',[.075 .075 .85 .85],'Visible','off');
set(get(gca,'Title'),'Visible','on')
title('global title','FontWeight','bold','FontSize',15);
or use one of these function from fex:
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!