Code covered by the BSD License  

Highlights from
Digital Karma: State Graphing

image thumbnail
from Digital Karma: State Graphing by Aman Siddiqi
Evolutionary Simulation, Interaction Graph

selecting_button_move_script.m
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