I have a bunch of coupled differential equations and I want to see what the curves of the output after differentiating look like but in real time ie. While it's differentiating for each timestep I want to look at how they behave in a live graph. I want to slowly see how the curves are formed.
I have checked online for live graph ideas but most of them save the data somewhere and plot when data in updated. In my case the differentiation is extremely fast so I would also need a delay function which will slowly plot each timestep data on the graph (Live).
Example sudo code
def model(timestep, inital_data):
dxdt = x+y
dydt = dxdt + k + c
plot(dxdt, timestep)
plot(dydt, timestep)