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

📄 infofigure.m

📁 ICA can be used in brain activation studies to reduce the number of dimension and filter out indepen
💻 M
字号:
function infofigure(title,filename);

% Display intro text
h=figure(1); clf
set(h,'Name',title);
set(h,'NumberTitle','off');
colorf=get(h,'Color');
posf=get(h,'Position');

% Title
pos = [10 posf(4)-40 posf(3)-20 30];
h = uicontrol('Style','Text','Position',pos);
set(h,'String',{title},'FontSize',14)

% Info text
pos = [10 10 posf(3)-20 posf(4)-60];
h = uicontrol('Style','Text','Position',pos,'BackgroundColor',colorf);

i=0;
fid = fopen(filename);
while 1
    i=i+1;
    tline = fgetl(fid);
    if ~ischar(tline), break, end
    string{i}=tline;
end
fclose(fid);

set(h,'String',string,'HorizontalAlignment','Left','FontSize',12)

⌨️ 快捷键说明

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