WOLFRAM

gives a list {{xmin,xmax},{ymin,ymax},} of the bounds in each dimension of the region defined by coords.

CoordinateBounds[coords,δ]

pads the ranges of coordinates by ±δ in each dimension.

pads by the scaled amount s in each dimension.

CoordinateBounds[coords,{p1,p2,}]

pads by p1, p2, in successive dimensions.

CoordinateBounds[coords,{{p1min,p1max},{p2min,p2max},}]

gives {{xmin-p1min,xmax+p1max},{ymin-p2min,ymax+p2max},}

Details

Examples

open allclose all

Basic Examples  (1)Summary of the most common use cases

Find bounds for coordinates in 2 dimensions:

Out[1]=1

Pad by 1 in each direction:

Out[2]=2

Pad by 1/4 of the span in each dimension:

Out[3]=3

Scope  (1)Survey of the scope of standard use cases

Coordinates in 3D of different types at various levels in a list:

Out[1]=1

Find the bounding box:

Out[2]=2

Pad by 1 in each dimension:

Out[3]=3

Pad by a fraction of the difference in each dimension:

Out[4]=4

Pad by different amounts for different dimensions:

Out[5]=5

Pad the minima and maxima differently:

Out[6]=6

Generalizations & Extensions  (1)Generalized and extended use cases

When there are coordinates that are not numerical, the result is typically expressed in terms of Min and Max:

Out[1]=1

Properties & Relations  (2)Properties of the function, and connections to other functions

Generally, CoordinateBounds[coords] is the transpose of CoordinateBoundingBox[coords]:

Out[5]=5
Out[6]=6

For coordinates given in a matrix, CoordinateBounds[coords] is equivalent to Map[MinMax, Transpose[coords]]:

Out[2]=2
Out[3]=3
Wolfram Research (2015), CoordinateBounds, Wolfram Language function, https://reference.wolfram.com/language/ref/CoordinateBounds.html.
Wolfram Research (2015), CoordinateBounds, Wolfram Language function, https://reference.wolfram.com/language/ref/CoordinateBounds.html.

Text

Wolfram Research (2015), CoordinateBounds, Wolfram Language function, https://reference.wolfram.com/language/ref/CoordinateBounds.html.

Wolfram Research (2015), CoordinateBounds, Wolfram Language function, https://reference.wolfram.com/language/ref/CoordinateBounds.html.

CMS

Wolfram Language. 2015. "CoordinateBounds." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CoordinateBounds.html.

Wolfram Language. 2015. "CoordinateBounds." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CoordinateBounds.html.

APA

Wolfram Language. (2015). CoordinateBounds. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CoordinateBounds.html

Wolfram Language. (2015). CoordinateBounds. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CoordinateBounds.html

BibTeX

@misc{reference.wolfram_2025_coordinatebounds, author="Wolfram Research", title="{CoordinateBounds}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/CoordinateBounds.html}", note=[Accessed: 25-April-2025 ]}

@misc{reference.wolfram_2025_coordinatebounds, author="Wolfram Research", title="{CoordinateBounds}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/CoordinateBounds.html}", note=[Accessed: 25-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_coordinatebounds, organization={Wolfram Research}, title={CoordinateBounds}, year={2015}, url={https://reference.wolfram.com/language/ref/CoordinateBounds.html}, note=[Accessed: 25-April-2025 ]}

@online{reference.wolfram_2025_coordinatebounds, organization={Wolfram Research}, title={CoordinateBounds}, year={2015}, url={https://reference.wolfram.com/language/ref/CoordinateBounds.html}, note=[Accessed: 25-April-2025 ]}