fixed clipped legend on plot3