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:

BALL_AND_STICK_DISPLAY, a MATLAB program which demonstrates the creation of a 3D "ball and stick" image;

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

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

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

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

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

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

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

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

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

XYZF_DISPLAY, 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_OPENGL, 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.