change display brain model type. [IN] inst_id : instance id of this application [OUT] none [HISTORY] 2008-05-26 rhayashi initial version Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function job_plot_cmap_change_modeltype(inst_id) 0002 % change display brain model type. 0003 % [IN] 0004 % inst_id : instance id of this application 0005 % [OUT] 0006 % none 0007 % [HISTORY] 0008 % 2008-05-26 rhayashi initial version 0009 % 0010 % 0011 % Copyright (C) 2011, ATR All Rights Reserved. 0012 % License : New BSD License(see VBMEG_LICENSE.txt) 0013 0014 global vbmeg_inst; 0015 0016 % both are off 0017 set(vbmeg_inst.plotcmap{inst_id}.model_type_inflate_rb, 'Value', 0); 0018 set(vbmeg_inst.plotcmap{inst_id}.model_type_original_rb, 'Value', 0); 0019 0020 % set clicked button 'on' 0021 set(gcbo, 'Value', 1); 0022 drawnow; 0023 0024 % check radiobutton state 0025 %inflate = get(vbmeg_inst.plotcmap{inst_id}.model_type_inflate_rb, 'Value'); 0026 %if inflate 0027 % selected_model = 0; % Inflate model 0028 %else 0029 % selected_model = 1; % original model 0030 %end 0031 0032 % update view 0033 job_plot_cmap_update_spatialpattern(inst_id);