User Interface for Lab 04. More...
Functions | |
| def | Lab4User.plotData (title, x_label, y_label, x1, y1, y1_label=None, x2=None, y2=None, y2_label=None) |
| def | Lab4User.parseCSV (file, start_line, step=0, convert=None) |
| Read an open CSV file and return the data in an equivalent matrix. More... | |
| def | Lab4User.main () |
User Interface for Lab 04.
Reads, parses, and plots data from a .CSV file. For this lab only two temperature graphs are plotted, but the functions created can be easily modified for other applications
| def Lab4User.parseCSV | ( | file, | |
| start_line, | |||
step = 0, |
|||
convert = None |
|||
| ) |
Read an open CSV file and return the data in an equivalent matrix.
| file | is an open .CSV file with the data to be read |
| start_line | is the row in the .CSV to begin reading (first line being 0) |
| step | indicates the numebr of lines to skip when reading the file (skip step-1 lines) |
| convert | indicates the desired type of the end matrix ('f' for float) |