% generate images as separate greyscale cropped figures, 1 image for each file
% gen_images

more off

for l=10:19  % frame counter frames 10 to 19, 10 is ref frame
  % does     A10=loadframe(10);
  % through  A19=loadframe(19);
  eval(sprintf('A%02d=loadframe(%02d);',l,l))
  eval(sprintf('savepnm(''v%02d.pgm'',chnan255(A%02d))',l,l))
end%for

