function chebyshev_lobatto_grid_test ( )

%*****************************************************************************80
%
%% chebyshev_lobatto_grid_test() tests chebyshev_lobatto_grid().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    17 February 2024
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'chebyshev_lobatto_grid_test():\n' );
  fprintf ( 1, '  Test chebyshev_lobatto_grid().\n' );
  clf ( );

  hold ( 'on' );
  for n = 1 : 15
    x = chebyshev_lobatto_grid ( n );
    y = n * ones ( n );
    plot ( x, y, '.', 'markersize', 15 );
  end
  hold ( 'off' );
  grid ( 'on' );

  filename = 'chebyshev_lobatto_grid_test.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );
  close ( );

  return
end

