Introducing a variable distY containing the distances towards the horizontal axis of the plan.