![]() |
MATLAB子图边距
我正在使用subplot命令绘制5 x 3的图,但是每个子图周围都有大量的边距。
如何控制它们周围的边距大小? figure; for c=1:15 subplot(5,3,c); imagesc(reshape(image(:,c), 360,480)); colormap gray; axis image; end [IMG]https://i.stack.imgur.com/mUmxR.png[/IMG] [B]回答:[/B] 问题是Matlab分配了每个轴的position属性,以便每个图周围都有空间。您可以调整position属性,也可以从File Exchange获取子[URL="http://www.mathworks.com/matlabcentral/fileexchange/3696-subaxis-subplot"]轴[/URL] ,并按自己的方式设置子图。 [url=https://stackoverflow.com/questions/4410873]更多&回答...[/url] |
所有时间均为北京时间。现在的时间是 01:05。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.