Correcting plot3 legend