📄 usefig.m
字号:
%USEFIG reuse a named figure or create a new figure%% usefig('Foo')%% make figure 'Foo' the current figure, if it doesn't exist create it.%% h = usefig('Foo') as above, but returns the figure handlefunction H = usefig(name) h = findobj('Name', name); if isempty(h), h = figure; set(h, 'Name', name); else figure(h); end if nargout > 0, H = h; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -