NAME

PGgraphgrid.pl

SYNOPSIS

Provides subroutines plotting a parallelogram grid on a graph object created by PGgraphmacros.pl.

DESCRIPTION

Load the PGgraphgrid.pl macro file.

loadMacros("PGstandard.pl","MathObjects.pl","PGgraphmacros.pl","PGgraphgrid.pl");

The macro PGgraphgrid.pl provides two different subroutines for graphing grids: the first one draws the grid using parallel lines and should be fast, and a second that draws each individual parallelogram and should be slow (but will suffer less from clipping):

graphgrid1($gr, $B, $hmin, $vmin, $hmax, $vmax, $color, $linewidth)
graphgrid1($gr, $B, $hmin, $vmin, $hmax, $vmax, $color, $linewidth)

Here $gr is a graph object created by PGgraphmacros.pl, $B is a two by two MathObjects matrix, the integers $hmin and $vmin specify one corner of the grid, the integers $hmax and $vmax specify the opposite corner of the grid, $color is a string that specifies the drawing color, and $linewidth is a positive integer for the line width.

AUTHORS

Paul Pearson, Hope College, Department of Mathematics