initial implementation of a Plot class (Part 2)