function polyiamond_plot_test ( )

%*****************************************************************************80
%
%% polyiamond_plot_test tests polyiamond_plot().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 September 2020
%
%  Author:
%
%    John Burkardt
%
  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyiamond_plot_test\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  polyiamond_plot() plots a polyiamond.\n' );

  for k = 1 : 12
    p = hexiamond_triangle_ijk ( k );
    r = 1.0;
    name = hexiamond_name ( k );
    number = true;
    clf ( );
    polyiamond_plot ( p, r, name, number );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyiamond_plot_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  timestamp ( );

  return
end
