TRIANGULATION_ORDER1_DISPLAY
Plot Triangulated Piecewise Constant Data


TRIANGULATION_ORDER1_DISPLAY is a MATLAB program which can make a 3D plot of piecewise constant data defined on a mesh of triangles.

The input from the user includes:

Usage:

triangulation_order1_display ( 'prefix' )
where 'prefix' is the common file prefix: reads the data and makes a plot.

Licensing:

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

Languages:

TRIANGULATION_ORDER1_DISPLAY is available in a MATLAB version.

Related Data and Programs:

BEZIER_SURFACE_DISPLAY, a MATLAB program which reads two files defining a Bezier surface and displays it within MATLAB.

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

OBJ_DISPLAY, a MATLAB program which reads an OBJ file defining a 3D object and displays it within MATLAB.

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

POLYGONAL_SURFACE_DISPLAY, a MATLAB program which reads two files defining a polygonal surface and displays it within MATLAB.

PWC_PLOT, a MATLAB library which converts the definition of a piecewise constant function into plottable data.

QUAD_MESH_ORDER1_DISPLAY, a MATLAB program which plots piecewise constant data associated with a mesh of quadrilaterals;

QUAD_SURFACE_DISPLAY, a MATLAB program which reads files defining a 3D quadrilateral mesh surface and displays it within MATLAB.

STLA_DISPLAY, a MATLAB program which reads an ASCII STL file defining a 3D object and displays it within MATLAB.

TET_MESH_DISPLAY, a MATLAB program which reads files defining a tet mesh and displays an image within MATLAB.

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

TRIANGULATION, a MATLAB library of routines for carrying out various operations on order 3 ("linear") or order 6 ("quadratic") triangulations.

TRIANGULATION_DISPLAY_OPENGL is a C++ program which reads files defining a triangulation and displays an image using Open GL.

TRIANGULATION_NODE_TO_ELEMENT, a MATLAB program which reads files describing a set of nodes, their triangulation, and the value of one or more quantities at each node, and outputs a file that averages the quantities for each element. This operation in effect creates an "order1" finite element model of the data.

TRIANGULATION_ORDER3_CONTOUR, a MATLAB library which makes a contour plot of a scalar quantity that is defined on a finite element mesh of three-node triangles.

TRIANGULATION_ORDER6_CONTOUR, a MATLAB library which makes a contour plot of a scalar quantity that is defined on a finite element mesh of six-node triangles.

TRIANGULATION_ORIENT, a MATLAB program that reads data defining a triangulation, makes sure that every triangle has positive orientation, and if not, writes a corrected triangle file.

TRIANGULATION_PLOT, a MATLAB library which plots the nodes and triangles that make up a finite element mesh.

TRIANGULATION_QUAD, a MATLAB program which estimates the integral of a function over a triangulated region.

TRIANGULATION_REFINE, a MATLAB program which reads data defining a triangulation, replaces each triangle by four congruent smaller ones, and writes the new triangulation information to a file.

Source Code:

Examples and Tests:

EXAMPLE1 is a set of node, element and value data. Files you may copy include:

EXAMPLE2 is a set of node, element and value data. Files you may copy include:

You can go up one level to the MATLAB source codes.


Last revised on 24 May 2006.