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:
%
%    19 July 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'PRESIDENT_HEIGHTS_BAR\n' );
  fprintf ( 1, '  Octave 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' )
  xlabel ( '<-- Index -->' )
  ylabel ( '<-- Height (inches) -->' )

  pause ( 5 )
%
%  Save a copy of the plot as a PNG file.
%
  filename = 'president_heights_bar.png';
  print ( '-dpng', filename );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphic saved as "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'PRESIDENT_HEIGHTS_BAR:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
