Code for Plot 6

Code for Plot 6