![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197648/image.jpeg)
How to plot large square subplot?
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197645/image.png)
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197648/image.jpeg)
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!