Fix lines in legend of plot 3