TRIANGULATION_DISPLAY
Plot a Triangulation


TRIANGULATION_DISPLAY, a MATLAB program which plots a triangulation.

TRIANGULATION_DISPLAY reads one file listing the nodes, and a second file consisting of groups of 3 or 6 nodes that make up the elements, and creates an Encapsulated PostScript image of the triangulation.

If a third file is available, listing the element neighbors of each element, then the program will read that file, and can display that information as well.

Usage:

triangulation_display ( 'prefix', node_vis, element_vis, (neighbor_vis) )
where 'prefix' is the common prefix for the node and element files, and will also be used to name the output file: and node_vis is an integer defining the node visibility: and element_vis is an integer defining the element visibility: and neighbor_vis is an integer defining the element neighbor visibility:

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

TRIANGULATION_DISPLAY is available in a MATLAB version.

Related Data and Programs:

FEM_BASIS_T3_DISPLAY, a MATLAB program which displays a basis function associated with a linear triangle ("T3") mesh.

FEM_BASIS_T6_DISPLAY, a MATLAB program which reads a quadratic triangle mesh and displays any associated basis function.

GRIDLINES, a MATLAB library which gives the user more control over drawing gridlines on a graph than the builtin "grid on" command.

MESH_DISPLAY, a MATLAB program which reads data defining a polygonal mesh and displays it, with optional numbering.

MPAS_GRID_DISPLAY, MATLAB programs which can read an MPAS NETCDF grid file and display the primary polygonal mesh or the dual triangular mesh.

PLY_DISPLAY, a MATLAB program which displays an image of a 3D graphics file in PLY format;

TRI_SURFACE_DISPLAY, a MATLAB program which reads data defining a triangular mesh of a 3D surface and displays it.

TRIANGLE_DISPLAY, a MATLAB program which displays the nodes and elements of a triangulation on the MATLAB graphics screen, assuming the data has been stored in NODE and ELE files by the TRIANGLE program.

triangulation_display_test

TRIANGULATION_PLOT, a MATLAB program which plots a triangulation as an Encapsulated PostScript (EPS) file.

TRIANGULATION_SVG, a MATLAB program which creates an SVG image of a triangulation, which can be displayed by an web browser.

Reference:

  1. Marc deBerg, Marc Krevald, Mark Overmars, Otfried Schwarzkopf,
    Computational Geometry,
    Springer, 2000,
    ISBN: 3-540-65620-0,
    LC: QA448.D38.C65.
  2. Joseph ORourke,
    Computational Geometry,
    Second Edition,
    Cambridge, 1998,
    ISBN: 0521649765,
    LC: QA448.D38.

Source Code:


Last revised on 09 April 2019.