XYZ Files
XYZ is a data directory which
contains examples of XYZ files, a very simple format
for recording points in 3D space.
An XYZ file has a simple structure:
-
Comment lines begin with '#" in column 1, and may appear anywhere;
-
Blank lines may appear anywhere.
-
The coordinates of a point are written on a single line,
separated by spaces;
Example XYZ File:
# Corners of a tetrahedron
#
0.0 0.0 0.0
1.0 0.0 0.0
0.0 1.0 0.0
0.0 0.0 1.0
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:
TABLE,
a data directory which
contains examples of TABLE files,
a simple format for N points in M dimensions;
XY,
a data directory which
contains examples of XY files,
a simple 2D graphics point format;
XYZL,
a data directory which
contains examples of XYZL files,
a simple 3D graphics point and line format;
Sample Files:
-
crystal_4000.xyz,
4000 points in an FCC crystal (data created by CRYSTAL_COORDINATES.F90)
-
crystal_4000.png,
a PNG image of the data.
-
cube.xyz,
the 8 vertices of a cube.
-
dodecahedron.xyz,
the 20 vertices of a dodecahedron.
-
helix_201.xyz,
201 points on a helix;
-
helix_201.png,
a PNG image of the data.
-
icosahedron.xyz,
the 12 vertices of an icosahedron.
-
octahedron.xyz,
the 6 vertices of an octahedron.
-
sphere_122.xyz
122 points on the surface of a sphere;
-
sphere_482.xyz
482 points on the surface of a sphere;
-
sphere_spiral_700.xyz,
700 points spiral around the surface of the unit sphere;
-
sphere_spiral_700.png,
a PNG image of the data.
-
teapot_306.xyz,
306 points on a teapot;
-
teapot_306.png,
a PNG image of the data.
-
tetrahedron.xyz,
the 4 vertices of a tetrahedron;
-
truncated_icosahedron.xyz,
the 60 vertices of a truncated icosahedron;
-
truncated_icosahedron.png,
a PNG image of the data.
-
truncated_octahedron.xyz,
the 24 vertices of a truncated octahedron;
-
uniform_100.xyz,
100 points uniformly distributed in the unit cube;
You can go up one level to
the DATA page.
Last revised on 30 December 2008.