function president_heights_bar ( )

%*****************************************************************************80
%
%% president_heights_bar makes a bar plot of Presidential heights.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    18 July 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'president_heights_bar\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Create a bar plot of the height in inches of US presidents.\n' );
%
%  Load the data.
%
  height = load ( 'president_heights_data.txt' );
%
%  Draw a bar plot.
%
  bar ( height );

  grid ( 'on' )
  title ( 'US President Heights', 'Fontsize', 16 )
  xlabel ( '<-- Index -->', 'Fontsize', 16 )
  ylabel ( '<-- Height (inches) -->', 'Fontsize', 16 )
%
%  Save a copy of the plot as a PNG file.
%
  filename = 'president_heights_bar.png';
  print ( '-dpng', filename );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'president_heights_bar:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
