Updated plot4 to remove border around legend in 3rd graph.