xy.grid.RdProduce the grid used by persp, contour, etc, as
an N x 2 matrix.
This is really outdated by expand.grid() nowadays.
xy.grid(x, y)a 2-column matrix of “points” for each combination of x and
y, i.e. with length(x) * length(y) rows.
expand.grid which didn't exist when
xy.grid was first devised.