Update plot3.R with comments

Added comments