snapshot.m
来自「matlab处理图像的一些基本方法。其中有一部分mex程序需要安装编译」· M 代码 · 共 27 行
M
27 行
function snapshot(hfig)%SNAPSHOT Set the figure for a picture%% Copyright (c) 1995 by Claudio Rivetti and Mark Young% claudio@alice.uoregon.edu, mark@alice.uoregon.edu%global oldpos oldKPF Handlefig hfigif nargin ==0 hfig=gcf;endoldpos = get(hfig, 'position');oldKPF = get(hfig, 'KeyPressFcn');set(hfig, 'KeyPressFcn', 'global oldpos oldKPF hfig; set(hfig, ''position'', oldpos, ''KeyPressFcn'', oldKPF);setuimenu(''on'');setuicontrols(''on'');set(hfig, ''KeyPressFcn'', '''')');set(hfig, 'position', [0 0 1280 1025])setuicontrols('off');setuimenu('off');return
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?