triangulation_display


triangulation_display, a MATLAB code 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 MIT license

Languages:

triangulation_display is available in a MATLAB version.

Related Data and Programs:

fem_basis_t3_display, a MATLAB code which displays a basis function associated with a linear triangle ("t3") mesh.

fem_basis_t6_display, a MATLAB code which reads a quadratic triangle mesh and displays any associated basis function.

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

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

tri_surface_display, a MATLAB code which reads data defining a triangular mesh of a 3d surface and displays it.

triangle_display, a MATLAB code 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 code which plots a triangulation as an encapsulated postscript (eps) file.

triangulation_svg, a MATLAB code 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.