PLot 3 code and graph