Generating the fourth plot