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

📄 lineplot_buttons.m

📁 matlab处理图像的一些基本方法。其中有一部分mex程序需要安装编译
💻 M
字号:
function lineplot_buttons%LINEPLOT_BUTTONS Inizialize the uicontrols for the line plot%% Copyright (c) 1995 by Claudio Rivetti and Mark Young% claudio@alice.uoregon.edu,    mark@alice.uoregon.edu%gvar='global  Handlefig B_frame deg_ed deg_txt LineSpace;';eval(gvar);% Position variables---------------------------------------------------pos=get(B_frame, 'Position');uiwidth=0.10;uithick=0.035;middle=pos(1)+(pos(3)-uiwidth)/2;%---------------------------------------------------------------------whendone='';deg_ed_cbk=[gvar 'editstr2value(deg_ed, 1, 5);LineSpace=get(deg_ed, ''value'');showimage;'];% Positions of buttons -----------------------------------------------------deg_txt_pos=[pos(1)+(pos(3)-0.18)/2 , pos(2)+0.5, 0.18, uithick]; deg_ed_pos=[middle, pos(2)+0.5-uithick, uiwidth, uithick]; %---------------------------------------------------------------------------	bg = [0.55 0.55 0.55];		initbuttons('Line/Mesh Plot', 'Done', whendone);	deg_txt=uicontrol(Handlefig, 'Style', 'text',...		'String', 'Line Spacing',...		'Units', 'normalized',...		'Position', deg_txt_pos,...		'BackgroundColor', bg,...		'Visible', 'on',...		'HorizontalAlignment', 'center'); 	deg_ed  = uicontrol(Handlefig, 'Style', 'edit',...		'String', num2str(LineSpace),...		'Units', 'normalized',...		'Position', deg_ed_pos,...		'Visible', 'on',...		'Value', LineSpace,...		'HorizontalAlignment', 'center',...		'CallBack', deg_ed_cbk);return

⌨️ 快捷键说明

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