function vertex_plot_test ( )

%*****************************************************************************80
%
%% vertex_plot_test() tests vertex_plot().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 March 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'vertex_plot_test():\n' );
  fprintf ( 1, '  vertex_plot() plots the vertices of an object.\n' );

  z = [ 0.0, 0.0 ];

  [ w, p_ij ] = eternity_grid_word ( );
  v_ij = word_to_vertex_ij ( w, p_ij );
  label = 'vertex ij plot: eternity:';
  filename = 'eternity_vertex_ij.png';
  vertex_plot ( v_ij, label, filename );

  [ w, p_ij ] = eternity_grid_word ( );
  p_xy = node_ij_to_xy ( p_ij, z );
  v_xy = word_to_vertex_xy ( w, p_xy );
  label = 'vertex xy plot: eternity:';
  filename = 'eternity_vertex_xy.png';
  vertex_plot ( v_xy, label, filename );

  [ w, p_ij ] = hexagon_word ( );
  p_xy = node_ij_to_xy ( p_ij, z );
  v_xy = word_to_vertex_xy ( w, p_xy );
  label = 'vertex xy plot: hexagon';
  filename = 'hexagon_vertex_xy.png';
  vertex_plot ( v_xy, label, filename );

  [ w, p_ij ] = hexagon3_word ( );
  p_xy = node_ij_to_xy ( p_ij, z );
  v_xy = word_to_vertex_xy ( w, p_xy );
  label = 'vertex xy plot: hexagon3';
  filename = 'hexagon3_vertex_xy.png';
  vertex_plot ( v_xy, label, filename );

  nx = 4;
  ny = 5;
  [ w, p_ij ] = rectangle_word ( nx, ny );
  p_xy = node_ij_to_xy ( p_ij, z );
  v_xy = word_to_vertex_xy ( w, p_xy );
  label = 'vertex xy plot: rectangle';
  filename = 'rectangle_vertex_xy.png';
  vertex_plot ( v_xy, label, filename );

  k = 1;
  [ w, p_ij ] = eternity_tile_word ( k );
  p_xy = node_ij_to_xy ( p_ij, z );
  v_xy = word_to_vertex_xy ( w, p_xy );
  label = 'vertex xy plot: tile001';
  filename = 'tile001_vertex_xy.png';
  vertex_plot ( v_xy, label, filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'vertex_plot_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
