MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   设置图形图形尺寸 (https://www.labfans.com/bbs/showthread.php?t=26474)

poster 2019-12-14 20:13

设置图形图形尺寸
 
我要做的就是使宽度更大而高度更小。我只是在做栅格图,但是这个问题适用于任何MATLAB figure 。我可以在创建图形时直接使用该图形手动调整其大小,但是我希望程序以正确的尺寸将其吐出。



[B]回答:[/B]

[URL="http://www.mathworks.com/matlabcentral/newsreader/view_thread/235879"]这[/URL]可能对您有帮助吗?

hFig = figure(1); set(hFig, 'Position', [xy width height])

[url=https://stackoverflow.com/questions/5183047]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 05:00

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.