Adding plot4 code and plot to the project.