Least square line
Drawing|Misc|Least Square Line
Command to calculate the least square line by using the least squares method. The sum of all perpendicular distances are minimized to the lowest possible.
Offset to minimize
Choose between perpendicular and vertical. Either you minimize perpendicular to the line or vertical to the line.