function triangle_print ( v, label );

%*****************************************************************************80
%
%% triangle_print() prints a triangle.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    28 February 2019
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real V(3,2), the X and Y coordinates of the vertices.
%
%    string LABEL, a title for the triangle.
%
  if ( 0 < length ( label ) )
    fprintf ( 1, '\n' );
    fprintf ( 1, '%s\n', label );
  end

  fprintf ( 1, '\n' );
  for i = 1 : 3
    fprintf ( 1, '  ( %g, %g )\n', v(i,1), v(i,2) );
  end

  return
end
