The task at hand is to use classes in order to read from a file to create plots of data. Two classes were to be created to hold the values of x, y, and z. The classes will also act like Zelle graphics but will contain fields that represent the data. Creating these classes and fields enables the user to look at and graph data more easily. They then will be able to manipulate and move the data around.
Fields in an object are created by creating the fields in the the constructor. These fields are created by using self. For example, in the set function, we create fields within an object by, self.x=tx and self.y=ty.
Fields are accessed inside a method by calling the fields with self. For example in datum.py in the draw function, the field is referenced in the if statement by self.circle. This is what references the field that has been created.
My extensions include finding some real data and using the classes and fields created in order to graph that data. The data that I graphed relates temperature, specific heat, and pressure of the air. It was found at http://sleekfreak.ath.cx:81/3wdev/VITAHTML/SUBLEV/EN1/BIOSTOV.HTM. I edited the datum and collectionskeleton files and renamed them to mydatum.py and my collecctionskeleton.py, in order for a new text file, mydata.txt, to be read in, that contains the data to be graphed.