generates an array of {x,y,} coordinates with integer steps in each dimension.


uses step d in each dimension.


uses steps dx, dy, in successive dimensions.


divides into n equal steps in each dimension.


specifies offsets to use for each coordinate point.


expands the array by k elements in every direction.


  • CoordinateBoundsArray gives an array of coordinates for points in a regular lattice.
  • In the default case, the sequence of values chosen in each direction is obtained by starting from the minimum value and repeatedly adding the step corresponding to that direction until the maximum value is reached.
  • When no offsets are specified, the coordinates correspond directly to the sequences of values.
  • Offsets can be given in terms of absolute distances, or by using Scaled. Scaled[1/2] puts the coordinate points at the center of every "cell".
  • Values in CoordinateBoundsArray can be Quantity objects.


open allclose all

Basic Examples  (3)

A lattice of two-dimensional points:

An array of 3D points with given discretization steps:

Return center points of the cells of the grid:

Scope  (6)

Provide bounds for the coordinate array, with default discretization, offsets, and padding:

Specify common discretization steps for all dimensions:

Specify respective cell sizes for different dimensions:

Give arguments as Quantity objects:

Return center points of the cells of the grid:

Numeric offset is interpreted as absolute:

Specify any relative offset using Scaled:

Return additional layers of points or remove some of them:

Specify number of subdivisions:

Applications  (1)

Compute the bounds of latitudes and longitudes for the US:

Use CoordinateBoundsArray to generate an array of coordinates with a step of 2 degrees:

Plot those coordinates on a geographical map:

Plot the points in a cylindrical projection:

Properties & Relations  (4)

CoordinateBounds returns the input bounds for 0 offsets:

With other offsets, the result will be different:

CoordinateBoundingBoxArray uses corner positions notation instead of a list of ranges:

CoordinateBoundsArray returns an array of lists of coordinates, even in only one dimension:

Range returns a list of those individual coordinates:

CoordinateBoundsArray specifies the number of subdivisions using Into:

Subdivide returns a list of those individual coordinates:

Wolfram Research (2015), CoordinateBoundsArray, Wolfram Language function,


Wolfram Research (2015), CoordinateBoundsArray, Wolfram Language function,


Wolfram Language. 2015. "CoordinateBoundsArray." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2015). CoordinateBoundsArray. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_coordinateboundsarray, author="Wolfram Research", title="{CoordinateBoundsArray}", year="2015", howpublished="\url{}", note=[Accessed: 23-June-2024 ]}


@online{reference.wolfram_2024_coordinateboundsarray, organization={Wolfram Research}, title={CoordinateBoundsArray}, year={2015}, url={}, note=[Accessed: 23-June-2024 ]}