corrected legend coloring for plot 3 and 4