hw 6 plotting