Before revision: Mathematically it is determined by the gradient of the height, taken as a potential field, so the lines of greatest slope are the analogon of lines of force.
After revision: Mathematically it is determined by the gradient of the height, taken as a potential field, so the lines of greatest slope are analogous to lines of force.