Added 3rd plot code