A grid of the coordinates of nx*ny points on the x-y plane, expanded in a matrix of nx*ny rows and 2 columns:
a row gives the (x,y) coordinates of a point.
Arguments
rangex
A length 2 numeric vector: the range of the x-variable.
rangey
A length 2 numeric vector: the range of the y-variable.
nx
The number of points of the grid in the x-direction.
ny
The number of points of the grid in the y-direction.