www.pudn.com > calibr8.zip > plotPoints.m


function plotPoints( im_points, sx, sy )

axis( [0, 704, 0, 573] );
plot( im_points( :, 1 ), im_points( :, 2 ), 'x' );
hold on

for i = 1:sx
plot( im_points( (i-1)*sx+1:i*sx, 1 ), im_points( (i-1)*sx+1:i*sx, 2 ), '-' );
end