📄 bfm_plot_datamatcorrs.m
字号:
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','Condition Index:', ...
'Style','text', ...
'Tag','LVIndexLabel');
x = x+w;
y = y+.01;
w = .05;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'BackgroundColor',[1 1 1], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','edit', ...
'Callback','bfm_plot_datamatcorrs(''EditLV'')', ...
'Tag','LVIndexEdit');
x = x+w;
y = y-.01;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % lv number label
'Units','normal', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','center', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','of', ...
'Style','text', ...
'Tag','LVNumberLabel');
x = x+w;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % lv number text
'Units','normal', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','text', ...
'Tag','LVNumberEdit');
x = .03;
y = y-h-.03;
w = .14;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','Behavior Index:', ...
'Style','text', ...
'Tag','BehavIndexLabel');
x = x+w;
y = y+.01;
w = .05;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % behav index edit
'Units','normal', ...
'BackgroundColor',[1 1 1], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','edit', ...
'Callback','bfm_plot_datamatcorrs(''EditBehav'')', ...
'Tag','BehavIndexEdit');
x = x+w;
y = y-.01;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % behav number label
'Units','normal', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','center', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','of', ...
'Style','text', ...
'Tag','BehavNumberLabel');
x = x+w;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % behav number text
'Units','normal', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','text', ...
'Tag','BehavNumberEdit');
% Brain LV
x = .03;
y = .3;
w = .26;
h = .45;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','frame', ...
'Tag','ThresholdFrame');
x = .08;
y = .72;
w = .16;
h = .04;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','center', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','Datamat Correlations', ...
'Style','text', ...
'Tag','BLVTitle');
x = .05;
y = .67;
w = .12;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','Threshold:', ...
'Style','text', ...
'Tag','ThresholdLabel');
x = x+w;
y = y+.01;
w = .1;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[1 1 1], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','edit', ...
'Callback','bfm_plot_datamatcorrs(''PlotBnPress'')', ...
'Tag','Threshold');
x = .05;
y = y-h-.02;
w = .12;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','Curr. Value:', ...
'Style','text', ...
'Tag','BLVValueLabel');
x = x+w;
w = .1;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','center', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','', ...
'Style','text', ...
'Tag','BLVValue');
x = .05;
y = y-h-.01;
w = .12;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','Min. Value:', ...
'Style','text', ...
'Tag','MinValueLabel');
x = x+w;
y = y+.01;
w = .1;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[1 1 1], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','edit', ...
'Callback','bfm_plot_datamatcorrs(''EditMin'')', ...
'Tag','MinValue');
x = .05;
y = y-h-.02;
w = .12;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','Max. Value:', ...
'Style','text', ...
'Tag','MaxValueLabel');
x = x+w;
y = y+.01;
w = .1;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[1 1 1], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','edit', ...
'Callback','bfm_plot_datamatcorrs(''EditMax'')', ...
'Tag','MaxValue');
x = .05;
y = y-h-.02;
w = .12;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','LV Index:', ...
'Style','text', ...
'Tag','BSLVIndexLabel');
x = x+w;
y = y+.01;
w = .05;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % lv index edit
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[1 1 1], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','edit', ...
'Callback','bfm_plot_datamatcorrs(''EditBSLV'')', ...
'Tag','BSLVIndexEdit');
x = x+w;
y = y-.01;
w = .03;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % lv number label
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','center', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','of', ...
'Style','text', ...
'Tag','BSLVNumberLabel');
x = x+w;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % lv number text
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','text', ...
'Tag','BSLVNumberEdit');
x = .05;
y = y-h-.01;
w = .12;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','BS Threshold:', ...
'Style','text', ...
'Tag','BSThresholdLabel');
x = x+w;
y = y+.01;
w = .1;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[1 1 1], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','edit', ...
'Callback','bfm_plot_datamatcorrs(''UpdatePValue'')', ...
'Tag','BSThreshold');
x = .05;
y = y-h-.02;
w = .12;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','Min. Ratio:', ...
'Style','text', ...
'Tag','MinRatioLabel');
x = x+w;
w = .1;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'Visible','on', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','text', ...
'Callback','bfm_plot_datamatcorrs(''PlotBnPress'')', ...
'Tag','MinRatio');
x = .05;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -