function lab03_2 ( )

%*****************************************************************************80
%
%% LAB03_2 reads price data and plots 3 prices on one display.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    10 December 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'LAB03_2:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Plot prices of bananas, gas and milk over time.\n' );
%
%  Read the (241) items of data.
%
  data = csvread ( 'price_data.csv', 2 );
%
%  Create a vector X, simply counting from 1 to 241.
%
  x = linspace ( 1, 241, 241 );
%
%  Plot 3 curves together.
%
  plot ( x, data(:,3), x, data(:,10), x, data(:,13), 'LineWidth', 3 );
  legend ( 'Bananas', 'Gas', 'Milk' );
  grid on
  xlabel ( 'Month Index', 'Fontsize', 16 );
  ylabel ( 'Price in Dollars', 'Fontsize', 16 );
  title ( 'Bananas / Gas / Milk prices, Feb 2008-Feb 2018', 'Fontsize', 16 );
%
%  Save the graphics in a file.
%
  filename = 'lab03_2.png';
  print ( '-dpng', filename );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphic data saved in "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'LAB03_2:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

