Check Jplot_tf_max_edit and update spatial pattern [history] 2011-01-04 taku-y Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function job_plot_cmap_change_Jplot_tf(inst_id) 0002 % Check Jplot_tf_max_edit and update spatial pattern 0003 % 0004 % [history] 0005 % 2011-01-04 taku-y 0006 % 0007 % Copyright (C) 2011, ATR All Rights Reserved. 0008 % License : New BSD License(see VBMEG_LICENSE.txt) 0009 0010 global vbmeg_inst; 0011 0012 % 0013 % Global variables 0014 % 0015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0016 ed10 = vbmeg_inst.plotcmap{inst_id}.ed10; % Jmax_tf_plot_edit 0017 TFmax = vbmeg_inst.plotcmap{inst_id}.TFmax; 0018 0019 % 0020 % Check value 0021 % 0022 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0023 Jmax_tf_plot = str2num(get(ed10,'String')); 0024 0025 if Jmax_tf_plot<=0, 0026 if ~isempty(TFmax), 0027 Jmax_tf_plot = TFmax; 0028 set(ed10,'String',num2str(Jmax_tf_plot)); 0029 else 0030 set(ed10,'String',''); 0031 end 0032 end 0033 0034 % 0035 % Change axis and Update spatial pattern 0036 % 0037 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0038 job_plot_cmap_update_timecourse(inst_id); 0039 0040 return;