function pgm_approx_display_test ( )

%*****************************************************************************80
%
%% pgm_approx_display_test() tests pgm_approx_display().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    25 December 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pgm_approx_display_test():\n' );
  fprintf ( 1, '  Pack multiple PGM files into a single array.\n' );
  fprintf ( 1, '  Generate a set of principal component vectors.\n' );
  fprintf ( 1, '  Approximate the images using a small number of vectors.\n' );

  filelist = 's01_list.txt';
  n = 5;
  png_filename = 'pgm_approx_display_test.png';
  pgm_approx_display ( filelist, n, png_filename );
  pause ( 10 );

  return
end
