Adds code & image for plot4.