Thank you very much for your help. I have got it somwhat working. I would like to add a little bit to it, though, and am not sure how to. What I would like to do is have the first value of what you have labled 'trend plot data' be the initial value of the temp (or 'simulated temp' as you have it). I'm not sure if this makes sense, so I'll try to elaborate on what I'm actually using this for. I have a certain amount of ice that will be placed on a hot plate with the thermistor in it. The temperature will be plotted through melting and into boiling. What I would like is the predicted temperature output through this, calculated from the initial temp. I hope this makes sense! Again, thank you so much for your help.