next up previous contents
Next: Constants in tiling_2d.c Up: GRASP Routines: Template Bank Previous: Function: tiling_2d   Contents


Function: plot_list

int plot_list(double *x_bound, double *y_bound, int npts,
	      struct tile *head, int n_tiles, double angle,
	      double magnification, int plot_boundary,
	      int plot_tiles, int plot_ellipses, int plot_flags,
	      const char *psfile);

This routine generates a postscript file displaying a parameter space, the brickwork mesh of tiles covering it, and an overlapping mesh of elliptical contours of unit proper radius, circumscribing each tile. The function returns the number of pages of postscript output.

The arguments are:

x_bound: Input. The array x_bound[0..npts] contains the $x$ components of a set of npts boundary points. Note that the array is of length npts+1; the [0] and [npts] index values refer to the same point, so the array explicitly describes a closed boundary; however, this is irrelevant to the current routine.

y_bound: Input. The array y_bound[0..npts] contains the $y$ components of the boundary points, as above.

npts: Input. The number of points along the boundary.

head: Input. The head of the linked list of tiles to be plotted.

n_tiles: Input. The number of tiles to be plotted from the list.

angle: Input. The angle counterclockwise from the $x$-axis of the parameter space to the horizontal axis of the plot.

magnification: Input. The scale factor of points (${}^1\!/_{72}$ of an inch) per unit coordinate distance in the parameter space.

plot_boundary: Input. 1 if boundary is to be shown, 0 otherwise.

plot_tiles: Input. 1 if the tile brickwork is to be shown, 0 otherwise.

plot_ellipses: Input. 1 if the overlapping ellipses are to be shown, 0 otherwise.

plot_flags: Input. If nonzero, indicates the size of dot used to mark flagged tiles (in points = ${}^1\!/_{72}$ inches). If zero, flags are ignored.

psfile: Input. The name of the postscript file created.

Author: Teviet Creighton, teviet@tapir.caltech.edu


next up previous contents
Next: Constants in tiling_2d.c Up: GRASP Routines: Template Bank Previous: Function: tiling_2d   Contents
Bruce Allen 2000-11-19