XYZL_DISPLAY
Display 3D Points and Lines in the MATLAB Graphics Window


XYZL_DISPLAY is a MATLAB program which reads XYZL information containing a list of 3D point coordinates, and the indices of points that form lines, and displays a plot in the MATLAB graphics window.

The program SXYZ_DELAUNAY, which creates a Delaunay triangulation on a sphere, is an example of a program whose output is in the form that this program can display.

Usage:

xyzl_display ( 'prefix' )
where reads the point coordinate data in 'prefix.xyz' and the line information in 'prefix.xyzl', and displays a plot.

Licensing:

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

Related Data and Programs:

PLOT_POINTS is a FORTRAN90 program which reads a set of points from a file and plots them into an Encapsulated PostScript file.

SXYZ_DELAUNAY is a FORTRAN90 program which computes and plots the Delaunay triangulation of points on the unit sphere.

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

XYL_DISPLAY is a MATLAB program which reads XYL information defining points and lines in 2D, and displays an image in a MATLAB graphics window.

XYZ_DISPLAY is a MATLAB program which reads XYZ information defining points in 3D, and displays an image in the MATLAB graphics window.

XYZ_IO is a MATLAB library which reads and writes files in the XYZ, XYZL, and XYZF formats.

XYZF_DISPLAY is a MATLAB program which reads XYZF information defining points and faces in 3D, and displays an image using OpenGL.

XYZL, a data directory which contains examples of XYZL files, a simple 3D graphics point and line format;

XYZL_DISPLAY_OPEN_GL is a C++ program which reads XYL information defining points and lines in 3D, and displays an image using OpenGL.

Source Code:

Examples and Tests:

DODECAHEDRON defines a dodecahedron.

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


Last revised on 08 January 2009.