📄 imagenote.m
字号:
function imagenote(note)%IMAGENOTE Set the note edit uicontrol%% Copyright (c) 1995 by Claudio Rivetti and Mark Young% claudio@alice.uoregon.edu, mark@alice.uoregon.edu%global H Note_txt Note_lab Handlefigif nargin==0 note=[];endbgnote=[0.5 0.3 0.3];bg = [0.55 0.55 0.55];if isempty(note) str=getparameter(H, 'Note',1); if str~=inf note=str; endendif ~ischildren(Note_txt, Handlefig) Note_lab=uicontrol(Handlefig, 'Style', 'text',... 'string', 'Note:',... 'Units', 'normalized',... 'Position', [0.01 0.035 0.2 0.037],... 'HorizontalAlignment', 'left',... 'tag', 'noteui',... 'BackgroundColor', bg); Note_txt = uicontrol(Handlefig, 'Style', 'edit',... 'Units', 'normalized',... 'Position', [0.062 0.035 0.93 0.037],... 'HorizontalAlignment', 'left',... 'tag', 'noteui',... 'Callback', 'global Note_txt;H=setparameter(H, ''Note'', get(Note_txt, ''string''));');endset(Note_txt, 'String', note);return
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -