📄 fmri_plot_datamatcorrs_3v.m
字号:
'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;
w = .14;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % lag index label
'Units','normal', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'String','Lag Index:', ...
'Style','text', ...
'Tag','LagIndexLabel');
x = x+w;
w = .05;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % lag index edit
'Units','normal', ...
'BackgroundColor',[1 1 1], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','edit', ...
'Callback','fmri_result_3v_ui(''EditLag'')', ...
'Tag','LagIndexEdit');
x = x+w;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % lag 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','LagNumberLabel');
x = x+w;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ... % lag number number text
'Units','normal', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'fontunit','normal', ...
'FontSize',fnt, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','text', ...
'Tag','LagNumberEdit');
x = .03;
y = y-h;
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;
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','fmri_plot_datamatcorrs_3v(''EditBehav'')', ...
'Tag','BehavIndexEdit');
x = x+w;
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');
% Slice Selection
x = .03;
y = .7;
w = .26;
h = .16;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','frame', ...
'visible','off', ...
'Tag','SliceFrame');
x = .05;
y = .8;
w = .12;
h = .04;
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','First Slice:', ...
'Style','text', ...
'visible','off', ...
'Tag','FirstSliceLabel');
x = x+w;
w = .1;
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','fmri_plot_datamatcorrs_3v(''EditFirstSlice'')', ...
'visible','off', ...
'Tag','FirstSlice');
x = .05;
y = y-h;
w = .12;
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','Step:', ...
'Style','text', ...
'visible','off', ...
'Tag','StepLabel');
x = x+w;
w = .1;
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','fmri_plot_datamatcorrs_3v(''EditStep'')', ...
'visible','off', ...
'Tag','SliceStep');
x = .05;
y = y-h;
w = .12;
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','Last Slice:', ...
'Style','text', ...
'visible','off', ...
'Tag','LastSliceLabel');
x = x+w;
w = .1;
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','fmri_plot_datamatcorrs_3v(''EditLastSlice'')', ...
'visible','off', ...
'Tag','LastSlice');
slice_frame_h = 0.12;
% Brain LV
x = .03;
y = .23;
w = .26;
h = .45;
y = y + slice_frame_h;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',pos, ...
'Style','frame', ...
'Tag','ThresholdFrame');
x = .08;
y = .65;
w = .16;
h = .04;
y = y + slice_frame_h;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
'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 = .6;
w = .12;
y = y + slice_frame_h;
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', ...
'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', ...
'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', ...
'Tag','MaxValue');
x = .05;
y = y-h-.02;
w = .12;
pos = [x y w h];
h1 = uicontrol('Parent',h0, ...
'Units','normal', ...
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -