fixed plot 3 legend

plot 3 legend