add support for arbitrary axis grids