http://blog.163.com/yinhexiwen@126/blog/static/6404826620122942057214/ % figure 窗口最大化,坐标轴也随着窗口变大而相应变大 scrsz = get(0,'ScreenSize'); set(gcf,'Position',scrsz); 或者 set(gcf,'outerposition',get(0,'screensize')); get(0,'ScreenSize'); 是为了获得屏幕大小,Screensize是一…