equally spaced functions - vertical and horizontal