mapImage.extent edit page

spatial bounds of a mapImage

The four corners are enough - the grid is regular, so nothing lies outside them. A rotated grid still gives an axis aligned bounding box, as it does for an EBSD map.

Syntax

[xmin, xmax, ymin, ymax] = extent(mg)
ext = extent(mg)
ext = extent(mg,ind)

Input

mg mapImage
ind which components of the combined form to return

Output

xmin xmax ymin ymax bounds
ext [xmin xmax ymin ymax zmin zmax], as for EBSD

See also

mapImage EBSD.extent