Adds code & graphic for plot3