function points_plot ( prefix )

%*****************************************************************************80
%
%% points_plot() plots points from a data file.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    22 November 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    character vector PREFIX.
%
  file_text = sprintf ( '%s.txt', prefix );

  xy = load ( file_text );

  plot ( xy(1,:), xy(2,:), 'b.', 'MarkerSize', 20 );
%
%  Use the same scale on both axes.
% 
  axis equal
%
%  Make the axes just fit the data.
%
  axis tight
%
%  Don't show the axis tick marks and lines.
%
  axis ( 'off' );
%
%  Save the graphics data as a PNG.
%
  file_png = sprintf ( '%s.png', prefix );

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

  return
end

