Change angle --- Syntax function job_view_lf_change_colorbar(inst_id,str) --- History 2009-01-26 Taku Yoshioka Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function job_view_lf_change_angle(inst_id,str) 0002 % Change angle 0003 % 0004 % --- Syntax 0005 % function job_view_lf_change_colorbar(inst_id,str) 0006 % 0007 % --- History 0008 % 2009-01-26 Taku Yoshioka 0009 % 0010 % Copyright (C) 2011, ATR All Rights Reserved. 0011 % License : New BSD License(see VBMEG_LICENSE.txt) 0012 0013 global vbmeg_inst; 0014 0015 % 0016 % Global variables 0017 % 0018 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0019 h_fig = vbmeg_inst.viewlf{inst_id}.h_fig; 0020 h_cortex = vbmeg_inst.viewlf{inst_id}.h_cortex; 0021 0022 % 0023 % Change angle 0024 % 0025 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0026 set(h_fig,'CurrentAxes',h_cortex); 0027 0028 switch str 0029 case 'left', 0030 view([-90 0]); 0031 case 'right', 0032 view([90 0]); 0033 case 'top', 0034 view([0 90]); 0035 case 'bottom', 0036 view([-180 -90]); 0037 end