Saturday, 5 December 2020

Python animation from file

I'm trying to animate some function. My x values are constant (the range doesn't change throughout the animation):

x = np.linspace(0,1,N)

And I have my y values stored in a file as frames, separated with a new line:

1 
2
3

1.2
1.9
2.8

How can I show all my values from the frame at once and then move to another frame?



from Python animation from file

No comments:

Post a Comment