Home > vbmeg > functions > job > job_edit_area_dir > job_edit_area_change_zoom.m

job_edit_area_change_zoom

PURPOSE ^

SYNOPSIS ^

function job_edit_area_change_zoom(inst_id)

DESCRIPTION ^

 Change zoom on/off


 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_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

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005