Code and file for plot6 added