PLOT_POINTS


PLOT_POINTS, a FORTRAN90 code which reads data in the XY file format and creates an Encapsulated PostScript file.

In fact, PLOT_POINTS can read data in the more general TABLE file format, allowing the user to select the two coordinates that will play the role of X and Y.

Plots you can make include:

You can specify the input file, add one box or circle, specify the kind of plot to be made, and a few other options, by entering commands interactively. The set of commands can be gotten via the "HELP" command. The full list is:
command Meaning
BALLOON a "balloon" plot of points.
DASH dash plot of connected points.
DOT dot plot of points.
DEL Delaunay triangulation plot
KM K-Means plot.
TH thin the points.
TV triangulated Voronoi diagram.
VOR Voronoi diagram plot.
Q quit.
READ filename read another input file.
OUTPUT filename name the next output file.
BOX x1 y1 x2 y2 draw a single box in the plot.
NOBOX do not draw a box in the plot.
CIRCLE x y r draw a single circle in the plot.
NOCIRCLE do not draw a circle in the plot.
MARKER_SIZE = n Specify marker size.
SHADOW mark X and Y axes for each point.
TITLE enter a title for the next plot.
X = n specify data index to use as X.
Y = n specify data index to use as Y.
# comment make a comment.

Licensing:

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

Languages:

PLOT_POINTS is available in a FORTRAN90 version

Related Data and Programs:

plot_points_test

BOX_PLOT, a MATLAB program which can color in specified entries of a checkerboard, corresponding to pairs of integer data.

PS_WRITE, a FORTRAN90 library which is used by PLOT_POINTS.

XY_DISPLAY, a MATLAB program which can read a file of coordinates of points, and display an image of the points in a MATLAB graphics window.

XY_DISPLAY_OPENGL, a C++ program which can read a file containing 2D point coordinates, and display an image of those points using Open GL.

Reference:

  1. Barry Joe,
    GEOMPACK - a software package for the generation of meshes using geometric algorithms,
    Advances in Engineering Software,
    Volume 13, pages 325-331, 1991.
  2. Henry McGilton, Mary Campione,
    PostScript by Example,
    Addison-Wesley,
    ISBN: 0-201-63228-4

Source Code:


Last revised on 01 April 2023.