function p_polynomial_plot_test ( )

%*****************************************************************************80
%
%% p_polynomial_plot_test() tests p_polynomial_plot().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 March 2012
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'p_polynomial_plot_test():\n' );
  fprintf ( 1, '  p_polynomial_plot() creates a plot of one or more Legendre functions.\n' );

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

  p_polynomial_plot ( index, filename );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Legendre polynomial plot stored in file "%s".\n', filename );

  return
end
