Add legend to triangle plots.