Code covered by the BSD License
if dimension==1 if (0<currentgraphx) & (currentgraphx<=columnsshown) & (1<=currentgraphy) & (currentgraphy<=rows) & (currenty>=1); values_button_move_script; if selectionshiftbuttondown==1; selection_shift_button_move; end; end; end; if dimension==2; if (0<currentgraphx) & (currentgraphx<=columnsshown) & (0<currentgraphy) & (currentgraphy<=rowsshown); values_button_move_script; if selectionshiftbuttondown==1; selection_shift_button_move; end; end; end;
Contact us at files@mathworks.com