Square Grid

Author

Eric W. Weisstein
January 28, 2004

This notebook downloaded from http://mathworld.wolfram.com/notebooks/PlaneGeometry/SquareGrid.nb.

For more information, see Eric's MathWorld entry http://mathworld.wolfram.com/SquareGrid.html.

©2005 Wolfram Research, Inc. except for portions noted otherwise

Initialization

SquareGrid[x_,y_]:={Line[{{0,#},{y,#}}]&/@Range[0,x],
Line[{{#,0},{#,x}}]&/@Range[0,y]}

Graphics

Show[Graphics[SquareGrid[7,7]],
AspectRatio->Automatic]