function triasymq_plot ( vert1, vert2, vert3, numnodes, rnodes, filename )

%*****************************************************************************80
%
%% triasymq_plot(): plot a triangle quadrature rule.
%
%  Licensing:
%
%    This code is distributed under the GNU GPL license.
%
%  Modified:
%
%    09 June 2023
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Hong Xiao, Zydrunas Gimbutas,
%    A numerical algorithm for the construction of efficient quadrature
%    rules in two and higher dimensions,
%    Computers and Mathematics with Applications,
%    Volume 59, 2010, pages 663-676.
%
%  Input:
%
%    real VERT1(2), VERT2(2), VERT3(2), the vertices of the triangle.
%
%    real NUMNODES, the number of nodes.
%
%    real RNODES(2,NUMNODES), the coordinates of the nodes.
%
%    string filename: the name of the file.
%
  clf ( );
  hold ( 'on' );
  plot ( [ vert1(1), vert2(1), vert3(1), vert1(1) ], ...
         [ vert1(2), vert2(2), vert3(2), vert1(2) ], 'r-', 'linewidth', 2 );
  plot ( rnodes(1,:), rnodes(2,:), 'b.', 'markersize', 15 );
  hold ( 'off' );
  xlabel ( '<--- X --->' );
  ylabel ( '<--- Y --->' );
  title ( filename );
  grid ( 'on' );
  axis ( 'equal' );
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );

  return
end
