Adding variable label to legend