finish plot 6, add legend to plot 3 and 5