调用格式:
figure
figure('PropertyName',propertyvalue,...)
figure(h)
h = figure(...)
如:
scrsz = get(0,'ScreenSize');%获取显示器屏幕尺寸
f_size=[1 scrsz(4)/2 scrsz(3)/2 scrsz(4)/2];
h=figure(‘Name’,’图1’,’Position’,f_size);
set(h,’NumberTitle’,’off’) %隐藏数字标题即左上角的“Figure1,2..”set(h,’NumberTitle’,’on’) %显示数字标题
set(h,’Menubar’,’N o’) %隐藏菜单栏
set(h,’Menubar’,’Figure’)%显示菜单栏
?Make the figure h current, visible, and displayed on top of other figures:
figure(h)
?Make the figure h current, but do not change its visibility or stacking with respect to other figures:
set(0,'CurrentFigure',h)