function normal_circular_test ( )

%*****************************************************************************80
%
%% normal_circular_test() tests normal_circular().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 August 2005
%
%  Author:
%
%    John Burkardt
%
  n = 2000;
  d = 2;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'normal_circular_test():\n' );
  fprintf ( 1, '  normal_circular() generates points\n' );
  fprintf ( 1, '  distributed according to a circular normal.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Number of points N =    %12d\n', n );
  fprintf ( 1, '  Spatial dimension D =   %12d\n', d );

  p = normal_circular ( n, d );
%
%  Make a plot.
%
  clf ( );
  plot ( p(:,1), p(:,2), 'b.' );
  grid ( 'on' );
  axis ( 'equal' );
  xlabel ( '<--- X --->' );
  ylabel ( '<--- Y --->' );
  title ( 'normal\_circular() (2D)' );
  filename = 'normal_circular.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s".\n', filename );

  return
end
