07-19-2019 06:29 AM
What doesn't work about it? You're going to have to give a little more detail so that we can determine what you're doing wrong.
07-19-2019 06:31 AM
You did take out the clearing the chart history inside the loop, right?
07-19-2019 06:42 AM
Yes the clearing is not in the loop but then the chart goes far beyond t=100 and doesn't stop.
I've attached an image of the kind of result I'm looking for. When a graph is used instead of a chart, It just gives lots of linear plots instead of the curve I need. I also only plots from t=0 to 1.
07-19-2019 06:47 AM
For the waveform graph transpose your array. The chart can't keep going unless you continue giving it more data. Can you post your updated code?
07-19-2019 06:58 AM
I just transposed the array and it works perfectly!! Thank you so much for helping