Home > functions > job > job_edit_act_dir > job_edit_act_change_hemi.m

job_edit_act_change_hemi

PURPOSE ^

Change hemisphere plotted

SYNOPSIS ^

function job_edit_act_change_hemi(inst_id)

DESCRIPTION ^

 Change hemisphere plotted

 --- Syntax
 job_edit_act_change_hemi(inst_id)

 --- History
 ????-??-?? Taku Yoshioka
 2008-09-04 Taku Yoshioka

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function job_edit_act_change_hemi(inst_id)
0002 % Change hemisphere plotted
0003 %
0004 % --- Syntax
0005 % job_edit_act_change_hemi(inst_id)
0006 %
0007 % --- History
0008 % ????-??-?? Taku Yoshioka
0009 % 2008-09-04 Taku Yoshioka
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 %
0017 % Global variables
0018 %
0019 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0020 plot_parm = vbmeg_inst.editact{inst_id}.plot_parm;
0021 cb1 = vbmeg_inst.editact{inst_id}.cb1;
0022 cb2 = vbmeg_inst.editact{inst_id}.cb2;
0023 
0024 if get(cb1,'Value')==0 & get(cb2,'Value')==0, 
0025   set(cb1,'Value',1);
0026   plot_parm.LRflag = 'L';
0027 elseif get(cb1,'Value')==1 & get(cb2,'Value')==1, 
0028   plot_parm.LRflag = 'LR';
0029 elseif get(cb1,'Value')==1,
0030   plot_parm.LRflag = 'L';
0031 else
0032   plot_parm.LRflag = 'R';
0033 end
0034 vbmeg_inst.editact{inst_id}.plot_parm = plot_parm;
0035 
0036 %
0037 % Update plot
0038 %
0039 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0040 job_edit_act_update_spatialpattern(inst_id);

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005