fix plot4 legend