Skip to contents

This function returns the co-ordinates of all the grid points of a given geofield domain.

Usage

DomainPoints(geo,type='lalo')

Arguments

geo

May be either a geofield object or only its domain descrtiption (attributes(x,"domain").

type

Default is "lalo": the Lat-Lon co-ordinates of all grid points. Alternative is "xy" which may be useful for projected grids. It returns the X-Y co-ordinates of the grid points as they appear in a graph.

Value

A list containing 2 real-valued matrices lon and

lat (or x and y)..

See also

DomainExtent