Update cortical area. [history] 2011-03-14 taku-y 2011-04-04 taku-y [enhancement] Multiple cortical area plot supported. Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function job_plot_cmap_update_area(inst_id) 0002 % Update cortical area. 0003 % 0004 % [history] 0005 % 2011-03-14 taku-y 0006 % 2011-04-04 taku-y 0007 % [enhancement] Multiple cortical area plot supported. 0008 % 0009 % Copyright (C) 2011, ATR All Rights Reserved. 0010 % License : New BSD License(see VBMEG_LICENSE.txt) 0011 0012 global vbmeg_inst; 0013 0014 % 0015 % Global variables 0016 % 0017 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0018 area_file = vbmeg_inst.plotcmap{inst_id}.area_file; 0019 lb2 = vbmeg_inst.plotcmap{inst_id}.lb2; 0020 0021 % 0022 % Update activity map 0023 % 0024 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0025 if ~isempty(area_file), 0026 area_key = get(lb2,'String'); 0027 ix_key = get(lb2,'Value'); 0028 vbmeg_inst.plotcmap{inst_id}.area_key = cell(0,0); 0029 for i=1:length(ix_key) 0030 vbmeg_inst.plotcmap{inst_id}.area_key{i} = area_key{ix_key(i)}; 0031 end 0032 end 0033 0034 return;