Slope is defined as the ratio of the change in the vertical coordinate (y) to the change in the horizontal coordinate (x). For constant velocity, the vertical coordinate (y) is constant and the horizontal coordinate (x) is changing at a constant rate, so the slope is 0/1 = 0.