Square Grid

Author

Eric W. Weisstein
December 11, 2024

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

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

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

Graphics

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

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