add grid/contour line fns (1d - 3d)