From what I can gather:

The gradient is, by definition equal to change in y over change in x:

As the x and the y axis are perpendicular this will form a right-angled triangle with L as the hypotenuse. Since the ratio of m does not change trig can be applied and so in this case

Therefore which should be about 0.4