How to plot large square subplot?
2 次查看(过去 30 天)
显示 更早的评论
How can i plot such large square subplot along with a common Title? It would be helpful to have an example?
0 个评论
回答(1 个)
Image Analyst
2018-10-11
Set the 'Position' property of the individual axes to resize them.
You can use text() to place text, or use suplabel: https://www.mathworks.com/matlabcentral/fileexchange/7772-suplabel
3 个评论
Image Analyst
2018-10-11
% Create 4 subplots.
h1 = subplot(2, 2, 1);
h2 = subplot(2, 2, 2);
h3 = subplot(2, 2, 3);
h4 = subplot(2, 2, 4);
% Change size and location of subplot#1
h1.Position = [.1, .6, .2, .3]
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!