Code for plot 4 exercise
PNG of plot 4 exercise