Update plot2.R with comments

Added comments