Reading the reference line
The two endpoints of the drawn line establish its angle relative to horizontal. A line rising toward the right represents tilt in one direction, while a line falling toward the right represents tilt in the other. The correction uses the opposite angle. Longer reference lines generally make careful endpoint placement easier because a small positioning error has less influence on the measured slope.