function lab03_6 ( )

%*****************************************************************************80
%
%% LAB03_6 makes a line contour plot of height data near a volcano.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    10 December 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'LAB03_6_CONTOUR:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Make a line contour plot of volcano height.\n' );
  fprintf ( 1, '  Make a color contour plot of volcano height.\n' );
  fprintf ( 1, '  Make a surface plot of volcano height.\n' );
%
%  Read the data from a file.
%
  Z = csvread ( 'volcano_data.csv' );

  contour ( Z );
  title ( 'Contour lines of volcano height' );
  filename = 'lab03_6_1.png';
  print ( '-dpng', filename )
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );

  contourf ( Z );
  title ( 'Color contours of volcano height' )
  filename = 'lab03_6_2.png';
  print ( '-dpng', filename )
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );

  surf ( Z );
  title ( 'Surface plot of volcano height' );
  filename = 'lab03_6_3.png';
  print ( '-dpng', filename )
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'LAB03_6:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

