plot(peaks)
title('Plot of Peaks Function')
ax = gca;
outerpos = ax.OuterPosition;
ti = ax.TightInset;
left = outerpos(1) + ti(1);
bottom = outerpos(2) + ti(2);
ax_width = outerpos(3) - ti(1) - ti(3);
ax_height = outerpos(4) - ti(2) - ti(4);
ax.Position = [left bottom ax_width ax_height];
matlab 保存图窗时尽可能减少空白空间
最新推荐文章于 2022-10-01 00:36:04 发布