Add code and image for plot3