Implemented the plot*.R files, and generated the required figures.