hw5 plot