RectGrid.coord_vectors

property RectGrid.coord_vectors

Coordinate vectors of the grid.

Returns
coord_vectorstuple of numpy.ndarray’s

See also

meshgrid

Same result but with nd arrays

Examples

>>> g = RectGrid([0, 1], [-1, 0, 2])
>>> x, y = g.coord_vectors
>>> x
array([ 0.,  1.])
>>> y
array([-1.,  0.,  2.])