function profile_data_plot ( xd, yd, filename )

%*****************************************************************************80
%
%% profile_data_plot() plots the profile data
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 January 2025
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Cleve Moler,
%    Numerical Computing with MATLAB,
%    SIAM, 2004,
%    ISBN13: 978-0-898716-60-3,
%    LC: QA297.M625. 
%
%  Input:
%
%    real xd(nd), yd(nd): the profile data.
%
%    string filename: the name of a file in which to save the plot.
%
  clf ( );
  plot ( xd, yd, 'k.', 'markersize', 20 );
  axis ( 'equal' );
  grid ( 'on' );
  title ( 'Profile data' )

  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );

  return
end

