function prices_plot ( )

%*****************************************************************************80
%
%% prices_plot() plots some of the data in the prices dataset.
%
%  Modified:
%
%    28 January 2022
%
%  Author:
%
%    John Burkardt
%
  data = csvread ( 'prices_data.csv', 2 );
  x = linspace ( 1, 240, 240 );
  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 );

  filename = 'prices.png';
  print ( '-dpng', filename );

  return
end

