better legends on priority plots