Generating the third plot