function faithful_scatter_plot ( )

%*****************************************************************************80
%
%% faithful_scatter_plot makes a scatter plot.
%
%  Discussion:
%
%    The data includes records of the length in minutes of eruptions
%    and pauses at the Old Faithful geyser.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    08 October 2019
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'faithful_scatter_plot\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Create a scatter plot of eruption length versus\n' );
  fprintf ( 1, '  subsequent pause length at the Old Faithful geyser.\n' );
%
%  Load the data.
%
  data = load ( 'faithful_data.txt' );
%
%  Request a scatter plot.
%
  scatter ( data(:,1), data(:,2), 'filled' );
%
%  Annotate the plot.
%
  grid ( 'on' )
  title ( 'Old Faithful Eruption / Pause Durations' )
  xlabel ( '<-- Eruption Duration (minutes)-->' )
  ylabel ( '<-- Pause Duration (minutes) -->' )
%
%  Save a copy of the plot as a PNG file.
%
  filename = 'faithful_scatter_plot.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'faithful_scatter_plot:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
