function bulgaria_plot ( )

%*****************************************************************************80
%
%% BULGARIA_PLOT makes a line plot of the Bulgarian population over time.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 July 2018
%
%  Author:
%
%    John Burkardt
%
  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'BULGARIA_PLOT:\n' );
  fprintf ( 1, '  MATLAB/Octave version %s:\n', version ( ) );
  fprintf ( 1, '  Plot Bulgarian population over time.\n' );

  data = load ( 'bulgaria_data.txt') ;

  plot ( data(:,1), data(:,2), 'linewidth', 3 )
  grid on
  xlabel ( '<-- Year -->' )
  ylabel ( '<-- Population -->' )
  title ( 'Bulgarian Population Over Time' )
%
%  Force the Y-axis to run from 0 to 10,000,000
%
  ylim ( [ 0, 10000000 ] )

  pause ( 5 )
%
%  Save graphics in a file.
%
  filename= 'bulgaria_plot.png';
  print ( '-dpng', filename );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphics saved in "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'BULGARIA_PLOT:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  timestamp ( );

  return
end

