RectGrid.coord_vectors
- property RectGrid.coord_vectors
Coordinate vectors of the grid.
Returns
coord_vectors : tuple of
numpy.ndarray’sExamples
>>> g = RectGrid([0, 1], [-1, 0, 2]) >>> x, y = g.coord_vectors >>> x array([ 0., 1.]) >>> y array([-1., 0., 2.])
See Also
meshgrid : Same result but with nd arrays