Correct legend in plot3.R