next up previous contents
Next: Example: make_mesh program Up: GRASP Routines: Template Bank Previous: Function: get_chirp_templates   Contents


Function: plot_chirp_templates

int plot_chirp_templates(struct chirp_space space,
                         double magnification, int plot_boundary,
                         int plot_patches, int plot_ellipses,
                         int plot_flags, const char *psfile);

This routine plots a postscript file of a chirp parameter space and the templates covering it, using the generic template-plotting routine plot_list(). See section [*] for documentation on this routine. The input parameters for plot_list() are passed directly from the parameters for plot_chirp_templates(), except as follows: the boundary is taken from space.x_bound, space.y_bound, and space.n_bound, the linked list of templates is generated from space.templates and space.n_templates, and the rotation angle of the plot is such that $\tau_0$ runs down the length of the page. The routine plot_chirp_templates() itself returns the number of pages of postscript output.

The arguments are:

space: Input. The data structure of the parameter space and its templates. This routine makes use of the fields n_bound, x_bound, y_bound, and angle; if template patches or flags are to be plotted, the fields n_templates and templates are also used.

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_patches: Input. 1 if rectangular brickwork of patches is to be shown, 0 otherwise.

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

plot_flags: Input. If nonzero, indicates the size of dot used to mark flagged templates (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: Example: make_mesh program Up: GRASP Routines: Template Bank Previous: Function: get_chirp_templates   Contents
Bruce Allen 2000-11-19