Graph showing braking of locomotives