Change zoom on/off Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function job_edit_area_change_zoom(inst_id) 0002 % 0003 % Change zoom on/off 0004 % 0005 % 0006 % Copyright (C) 2011, ATR All Rights Reserved. 0007 % License : New BSD License(see VBMEG_LICENSE.txt) 0008 0009 global vbmeg_inst; 0010 0011 c_h = vbmeg_inst.editarea{inst_id}.zt; 0012 axes_h = vbmeg_inst.editarea{inst_id}.h_space; 0013 on_off = get(c_h, 'Value'); 0014 0015 if on_off 0016 zoom(axes_h, 'on'); 0017 else 0018 zoom(axes_h, 'off'); 0019 end