plot total loss