correct legends up to distribution measures