MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB GUI] 插入图片的命令应该放在哪? (https://www.labfans.com/bbs/showthread.php?t=14632)

12hd 2012-04-10 13:00

插入图片的命令应该放在哪?
 
我是这样写的:
ha=axes('units','normalized','position',[0 0 1 1]);
uistack(ha,'down');
II=imread('huanying.jpg');
image(II);
colormap gray;
set(ha,'handlevisibility','off','visible','off');
应该放在程序的哪里?是一开始还是在程序的某一部分?
好像放在不同位置效果是不一样的~~


所有时间均为北京时间。现在的时间是 06:25

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