Time for action – charting our measurements
Now that we have some data in our measurements list, we can create a graph to display the results. If you did not collect a list of measurements through the previous exercise, you can import 0724OS_measurements.txt
from the book's code files into your measurements list. If you remember our work with lists in Chapter 8, Chatting with a Fortune Teller, you recall that you can import a list by showing the list monitor, right-clicking on the monitor, and choosing import. Then you'll have everything you need in order to create a graph. The following screenshot shows what our finished graph will look like:
I haven't told you much about a thermistor's relationship with temperature and resistance yet, which makes drawing any conclusions about the graph difficult. We'll get there, but first, let's chart the data as follows:
- Create a new variable named
count
that we can use as a way to track our script's position...