function geyser_scatter ( )

%*****************************************************************************80
%
%% geyser_scatter makes a scatter plot of geyser data.
%
%  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:
%
%    25 April 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'geyser_scatter\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Create a scatter plot of eruption length versus\n' );
  fprintf ( 1, '  subsequent wait time at the Old Faithful geyser.\n' );
%
%  Load the data of durations and wait times.
%
  data = load ( 'geyser_data.txt' );

  scatter ( data(:,1), data(:,2), 'filled' );

  grid ( 'on' )
  title ( 'Duration of Eruption / Pause at Old Faithful', 'Fontsize', 16 )
  xlabel ( '<-- Eruption Duration (minutes)-->', 'Fontsize', 16 )
  ylabel ( '<-- Pause Duration (minutes) -->', 'Fontsize', 16 )
%
%  Save a copy of the plot as a PNG file.
%
  filename = 'geyser_scatter.png';
  print ( '-dpng', filename );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'geyser_scatter:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
