Create plot2.R

This script creates the utput required for task 2 into a file called plot2.PNG.