I need to create a dynamic graph in ZedGraph where each of the points on a new curve are functions of points on the previous curve. Giving the overall effect the whole curve is moving/evolving on the axis.
I have a loop in which I calculate the next curve based on the current using my function and I store these in a two dimensional array. So, for each timestep I have all the Y-Axis values in order in my array.
I'm not sure how to go about with the actual plotting, do I need to declare a new pairpointlist
for each curve/timestep?
I'm new to ZedGraph and I haven't been able to find any similar problems to this on the internet. I'm a little stuck.
Any help is appreciated, cheers!
Zedgraph has got an inbuilt option for Dynamic or Real time data plotting, RollingPointPairList
You just have to change the list data within the timer tick event, and you could also control the speed of rolling data.