interface to change x, y sample grid points