function grid_plot_test ( )

%*****************************************************************************80
%
%% grid_plot_test() tests grid_plot().
%
%  Discussion:
%
%    5           x x x x-x x
%                 /|  / /
%    4         x-x x x x x
%             /    |/ /
%    3       x-x x x x x
%              |    /
%    2     x x x x x x
%             /    |
%    1   x-x-x x x x
%       /         /
%    0 x-x-x-x-x-x
%
%      0 1 2 3 4 5
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 November 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'grid_plot_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  grid_plot() plots a polyiamond grid from its boundary word.\n' );
%
%  Draw the parallelogram grid.
%
  clf ( );
  hold ( 'on' );

  imin = 0;
  imax = 8;
  jmin = 0;
  jmax = 5;
  r = 0.85;
  color_back = 'cyan';
  color_tri = [ 1, 1, 0 ];
  number = false;

  grid_plot ( imin, imax, jmin, jmax, r, color_back, color_tri, number );

  axis ( 'equal' );
  axis ( 'off' );
  title ( 'grid plot' )
  hold ( 'off' );

  filename = 'grid_plot_test.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'grid_plot_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

