⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setzoomstatus.m

📁 matlab处理图像的一些基本方法。其中有一部分mex程序需要安装编译
💻 M
字号:
function setzoomstatus(z)%SETZOOMSTATUS Set the zoom status for the current figure.%%	SETZOOMSTATUS(ZOOMSTAT)%%	SETZOOMSTATUS sets the zoomstatus to the value specified by the%	ZOOMSTAT argument.%%	   ZOOMSTAT = 1 turns the zoom on%	   ZOOMSTAT = 0 turns the zoom off%	   ZOOMSTAT = -1 turns the zoom off and disable the menu item%%   Called with no arguments, SETZOOMSTATUS, will toggle the zoom status.%%	Claudio - 28 Sept, 1995%%% Copyright (c) 1995 by Claudio Rivetti and Mark Young% claudio@alice.uoregon.edu,    mark@alice.uoregon.edu%zi=findobj('tag', 'ZOOMITEM');if nargin == 0	z = getzoomstatus;	if z ~= -1	  z=~z;	endendif z == 1 	zoom on;	set(zi,'Label','Zoom off','Enable','on', 'userdata', z);endif z == 0	zoom off;	set(zi,'Label','Zoom on','Enable','on', 'userdata', z);endif z == -1	zoom off;	set(zi,'Label','Zoom on','Enable','off', 'userdata', z);endreturn

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -