Previous: fontfontname--switchchar-- Up: ../slides.html Next: help-topic-


GRID nxcells nycells xmin xmax ymin ymax


 Default: GRID 10 10 wxmin wxmax wymin wymax
          (w.... = current window boundaries)

 Draw grid lines on the window, or a rectangular portion thereof,  using
 the current line style and width, dividing it into nxcells cells  along
 the x axis and nycells cells along the y axis.  If only one  parameter,
 nxcells, is given, then that is the value assumed for nycells.  If  the
 rectangle boundaries are omitted, the  defaults are the current  window
 boundaries.  Values less  than 1  suppress the grid  lines cutting  the
 corresponding axis.  Thus GRID 1  and GRID 1 1  will draw a box  around
 the window, GRID  2 0 will  draw 3 equally-spaced  vertical lines,  and
 GRID 0 4 will draw 5 equally-spaced horizontal lines.