I am trying to animate vibration of a building such as:
each floor will have a set of displacements from time 0 sec up to 54 sec at time increment 0.02 as in figure below, I could have up to 10 floors.
.The displacement at time 0,1,2,3,4 sec for all 10 floors with respect to the floor height are shown in the figure below:
The vertical axis (ydata) is the floor height which is constant. The horizontal axis (r100data, r101data ......) is the displacement value for each floor at certain time. For instance, the horizontal axis in the first figure (r100data) is the displacement for each floor at time 0 sec.
This is what (r100data, r101data ......) look like:
I would like to do the animation such as the frames will start from 0 sec, 0.02 sec , 0.04sec ............ 54 sec.