Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

CoordinateBounds

CoordinateBounds[coords]
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.

CoordinateBounds[coords,Scaled[s]]
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},}

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Find bounds for coordinates in 2 dimensions:

In[1]:=
Click for copyable input
Out[1]=

Pad by 1 in each direction:

In[2]:=
Click for copyable input
Out[2]=

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

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2015
(10.1)