function lynx_plot ( )

%*****************************************************************************80
%
%% lynx_plot creates a line plot of lynx data.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    23 April 2011
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'lynx_plot:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Make a curve by connecting a series of data points.\n' );
  fprintf ( 1, '  Mark the data points.\n' );

  xy = load ( 'lynx_data.txt' );
%
%  Plot the data.
%
  plot ( xy(:,1), xy(:,2), 'LineWidth', 2, 'Color', 'g' );
  hold on
  plot ( xy(:,1), xy(:,2), 'ko' );
  grid on
  xlabel ( '<--- Year --->', 'Fontsize', 16 );
  ylabel ( '<--- Lynx Harvest --->', 'Fontsize', 16 );
  title ( 'Lynx Population Records', 'Fontsize', 16 );
  hold off
%
%  Save the plot as a PNG file.
%
  filename = 'lynx_plot.png';
  print ( '-dpng', filename );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'lynx_plot:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
