fix plot3 legend