function snowfall_plot ( )

%*****************************************************************************80
%
%% snowfall_plot() plots yearly snowfall data.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 April 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'snowfall_plot():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s:\n', version ( ) );
  fprintf ( 1, '  Make a line plot of snowfall data.\n' );

  y = load ( 'snowfall_data.txt' );
  year = y(:,1);
  inches = y(:,10);

  figure ( 1 )
  plot ( year, inches, 'Linewidth', 2 );
  grid ( 'on' );
  xlabel ( '<-- Year -->', 'Fontsize', 16 )
  ylabel ( '<-- Total Snow in Inches -->', 'Fontsize', 16 )
  title ( 'Yearly Snowfall at Michigan Tech', 'Fontsize', 16 )
%
%  Save the graphics in a file.
%
  filename = 'snowfall_plot.png';
  print ( '-dpng', filename )
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'snowfall_plot():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

