📄 asufit.m
字号:
'BackgroundColor', [0.8 0.8 0.8], ...
'ForegroundColor', [1 0 0], ...
'position', [.635 .87 .1 0.03]...
);
svdNumVecsText = ... % Identifier for absorbance rate constant box
uicontrol(mainWindow,...
'Style', 'text',...
'visible', 'off',...
'HorizontalAlignment', 'right',...
'Units', 'normalized',...
'BackgroundColor', [0.8 0.8 0.8], ...
'ForegroundColor', [0 0 0], ...
'Position', [.05 .39 0.1 0.03]....
);
str='Components: ';
set(svdNumVecsText,'String',str);
svdNumVecsBox = ... % Absorbance rate constant display text box
uicontrol(mainWindow,...
'Style', 'edit',...
'Visible', 'off',...
'Units', 'normalized',...
'CallBack', 'Asufit(''svdGetNumVecs'');',...
'BackgroundColor', [0.8 0.8 0.8], ...
'ForegroundColor', [0 0 0], ...
'position', [.15 .39 .1 0.03]...
);
svdErrorText = ... % Identifier for absorbance rate constant box
uicontrol(mainWindow,...
'Style', 'text',...
'visible', 'off',...
'HorizontalAlignment', 'right',...
'Units', 'normalized',...
'BackgroundColor', [0.8 0.8 0.8], ...
'ForegroundColor', [0 0 0], ...
'Position', [.05 .36 0.1 0.03]....
);
str='Error: ';
set(svdErrorText,'String',str);
svdErrorBox = ... % Absorbance rate constant display text box
uicontrol(mainWindow,...
'Style', 'text',...
'Visible', 'off',...
'Units', 'normalized',...
'HorizontalAlignment', 'left',...
'BackgroundColor', [0.8 0.8 0.8], ...
'ForegroundColor', [0 0 0], ...
'position', [.15 .36 .1 0.03]...
);
svdWeightText = ... % Identifier for absorbance rate constant box
uicontrol(mainWindow,...
'Style', 'text',...
'visible', 'off',...
'HorizontalAlignment', 'center',...
'Units', 'normalized',...
'BackgroundColor', [0.8 0.8 0.8], ...
'ForegroundColor', [0 0 0], ...
'Position', [.8 .84 0.2 0.03]....
);
str = 'Component weights';
set(svdWeightText,'String',str);
svdWeightBox = ... % Absorbance rate constant display text box
uicontrol(mainWindow,...
'Style', 'edit',...
'Visible', 'off',...
'Units', 'normalized',...
'Max', 10,...
'HorizontalAlignment', 'left',...
'BackgroundColor', [0.8 0.8 0.8], ...
'ForegroundColor', [0 0 0], ...
'position', [.85 .05 .1 0.79]...
);
svdGlobalTogHypertext = ...
uicontrol(mainWindow,...
'Style', 'Text',...
'String', 'Global View',...
'Visible', 'Off',...
'HorizontalAlignment', 'Center',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Units', 'normalized',...
'Position', [ .05 .33 .2 .03]...
);
% -------------------------------------------------------------------------------
% --- The following commands set up the uicontrols for the SPC options screen ---
% -------------------------------------------------------------------------------
spcNumTaoText = ... % Identifier for number of rate constants box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Number of variable tao: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .35 .3 .03]...
);
spcNumTaoBox = ... % Input and display for number of rate constants
uicontrol(mainWindow,...
'Style', 'edit',...
'Units', 'normalized',...
'visible', 'off',...
'HorizontalAlignment', 'left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [1 0 0],...
'position', [.35 .35 .6 .03],...
'CallBack', 'Asufit(''getSpcOptions'');'...
);
spcTaoText = ... % Identifier for rate constants box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Guesses for variable tao: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .32 .3 .03]...
);
spcTaoBox = ... % Input and display for rate constants
uicontrol(mainWindow,...
'Style', 'edit',...
'Units', 'normalized',...
'visible', 'off',...
'HorizontalAlignment', 'left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [1 0 0],...
'position', [.35 .32 .6 .03],...
'CallBack', 'Asufit(''getSpcOptions'')'...
);
spcNumTaoFixedText = ... % Identifier for number of fixed rate constants box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Number of fixed tao: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .29 .3 .03]...
);
spcNumTaoFixedBox = ... % Display for number of fixed rate constants
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'HorizontalAlignment','left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'position', [.35 .29 .6 .03]...
);
spcTaoFixedText = ... % Identifier for fixed rate constants box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Values of fixed tao: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .26 .3 .03]...
);
spcTaoFixedBox = ... % Input and display for fixed rate constants
uicontrol(mainWindow,...
'Style', 'edit',...
'Units', 'normalized',...
'visible', 'off',...
'HorizontalAlignment', 'left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [1 0 0],...
'position', [.35 .26 .6 .03],...
'CallBack', 'Asufit(''getSpcOptions'')'...
);
spcNumAllTaoText = ... % Identifier for all rate constants box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Total number of tao: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .23 .3 .03]...
);
spcNumAllTaoBox = ... Display for all rate constants
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'HorizontalAlignment', 'left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'position', [.35 .23 .6 .03]...
);
spcAllTaoText = ... % Identifier for all rate constants box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Tao values are: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .2 .3 .03]...
);
spcAllTaoBox = ... Display for all rate constants
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'HorizontalAlignment', 'left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'position', [.35 .2 .6 .03]...
);
spcshifttext = ... % Identifier for x-tolerance box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Shift: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .17 .3 .03]...
);
spcshift = ... % Input and display for x-tolerance
uicontrol(mainWindow,...
'Style', 'edit',...
'Units', 'normalized',...
'Visible', 'off',...
'HorizontalAlignment','left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [1 0 0],...
'Position', [.35 .17 .6 .03],...
'Callback', 'Asufit(''getSpcOptions'')');
spcMaxItText = ... %Identifer for maximum number of iterations box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Maximum iterations: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .14 .3 .03]...
);
spcMaxItBox = ... % Input and display for maximum number of iterations
uicontrol(mainWindow,...
'Style', 'edit',...
'Units', 'normalized',...
'visible', 'off',...
'HorizontalAlignment','left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [1 0 0],...
'position', [.35 .14 .6 .03],...
'Callback', 'Asufit(''getSpcOptions'');'...
);
% --------------------------------------------------------------------------------------
% --- The following commands set up the uicontrols for the ABSORBANCE options screen ---
% --------------------------------------------------------------------------------------
absNumTaoText = ... % Identifier for number of rate constants box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Number of variable tao: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .38 .3 .03]...
);
absNumTaoBox = ... % Input and display for number of rate constants
uicontrol(mainWindow,...
'Style', 'edit',...
'Units', 'normalized',...
'visible', 'off',...
'HorizontalAlignment', 'left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [1 0 0],...
'position', [.35 .38 .6 .03],...
'CallBack', 'Asufit(''getAbsOptions'');'...
);
absTaoText = ... % Identifier for rate constants box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Guesses for variable tao: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .35 .3 .03]...
);
absTaoBox = ... % Input and display for rate constants
uicontrol(mainWindow,...
'Style', 'edit',...
'Units', 'normalized',...
'visible', 'off',...
'HorizontalAlignment', 'left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [1 0 0],...
'position', [.35 .35 .6 .03],...
'CallBack', 'Asufit(''getAbsOptions'')'...
);
absNumTaoFixedText = ... % Identifier for number of fixed rate constants box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Number of fixed tao: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .32 .3 .03]...
);
absNumTaoFixedBox = ... % Display for number of fixed rate constants
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'HorizontalAlignment','left',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'position', [.35 .32 .6 .03]...
);
absTaoFixedText = ... % Identifier for fixed rate constants box
uicontrol(mainWindow,...
'Style', 'text',...
'Units', 'normalized',...
'visible', 'off',...
'String', 'Values of fixed tao: ',...
'HorizontalAlignment', 'right',...
'BackgroundColor', [0.8 0.8 0.8],...
'ForegroundColor', [0 0 0],...
'Position', [.05 .29 .3 .03]...
);
absTaoFixedBox = ... % Input and display for fixed rate constants
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -