Create plot2.R

The code for creating plot 2.