code that reads the subset of relevant data moved to its own file
plot 2 is ready