To plan his journey by boat, the captain lays a grid on a map and traces his path with a horizontal and vertical axis.