function pn_polynomial_plot_test ( )

%*****************************************************************************80
%
%% pn_polynomial_plot_test() tests pn_polynomial_plot().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 October 2019
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pn_polynomial_plot_test:\n' );
  fprintf ( 1, '  pn_polynomial_plot() creates a plot of one or more\n' );
  fprintf ( 1, '  normalized Legendre functions.\n' );

  index = [ 0, 1, 2, 3, 4, 5 ];
  filename = 'pn_polynomial_plot.png';

  pn_polynomial_plot ( index, filename );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphics saved as "%s".\n', filename );

  return
end
