The gradient of f would give the direction you go in three-space to increase temperature, or air pressure, or whatever, the fastest. f *cannot* represent height as a function of horizontal coordinates, however, because in this case f is a function that takes two variables as input.