triangulation_plot, a FORTRAN90 code which plots a triangulation.

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


triangulation_plot prefix node_vis triangle_vis
where prefix is the common prefix for the node and triangle files, and will also be used to name the output file: and node_vis is an integer defining the node visibility: and triangle_vis is an integer defining the triangle visibility:


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


triangulation_plot is available in a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

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

TRIANGULATION, a FORTRAN90 code which is useful for working with triangulations.


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


  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 10 September 2020.