plot3 legend
plot3 legend, full code