%testm.m
% test getting data from matrix
%
% AH 9/11/2012

A = rand(100, 80);
D = rand(100, 80);

imagesc(A)
[x0, y0, nx, ny] = box_cursor;
box_vals(A, D)