XYZ_DISPLAY
Display 3D Points in the MATLAB Graphics Window


XYZ_DISPLAY is a MATLAB program which reads the name of a data file containing a list of 3D point coordinates, reads the data, and displays the points in the MATLAB graphics window.

The file containing the point coordinates is in the XYZ format.

The MATLAB command scatter3 is used to display the points.

Usage:

xyz_display ( 'filename.xyz' )
where and displays a plot of the points.

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.

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

XY_DISPLAY is a MATLAB program which reads a set of 2D points from a file and plots them in a the MATLAB graphics window.

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

XYZ_DISPLAY_OPEN_GL is a C++ program which reads a set of 3D points from a file and plots them in an OpenGL 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_DISPLAY is a MATLAB program which reads XYZL information defining points and lines in 3D, and displays an image in a MATLAB graphics window.

Source Code:

Examples and Tests:

HELIX_201 is a set of 201 points in 3D that trace a helix:

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


Last revised on 02 January 2009.