Code for Plot 1
Code for Plot 2
Code for Plot 3