Civil Engineering Association

Full Version: Animated chart in a movie clip?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Cheers, colleagues

I have to make a presentation about the experiments I've conducted - shear strength of RC columns with circular cross section... So I have the clip of the experiment - from the beginning to the failure of the specimen, and the all the data - time, load, deformations.
For the presentation, I want to combine the failure movie with syncronized animated graph Time-Load and Load-Deformations.

Do you have any ideas how I can do this?

Greetings and thank you in advance!
Dear AlmostThere,

You can make the animation in R easily using the 'animation' package (you can control the animation speed). The animation can be combined with the movie clip using any decent video editor.

R is a free programming language with similar features and syntax as Matlab, especially useful for statistical calculations.

R program:
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:

http://forum.civilea.com/thread-27464.html
***************************************

animation package:
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:

http://forum.civilea.com/thread-27464.html
***************************************

animation examples created with the package:
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:

http://forum.civilea.com/thread-27464.html
***************************************

The animation created in R can be directly implemented into pdf files too. You can use Matlab to create animation as well.
I have not done anything like this before, but if you have access to matlab (could use any environment really) I would create a simple GUI, read the video in frame by frame, then display each frame in a control on the GUI and plot the corresponding data to an axes placed below. 30-40 lines of manual code I think would have you pretty close to a working solution.
Thank you for your help and cooperation!
I used R software and the the code from this site:
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:

http://forum.civilea.com/thread-27464.html
***************************************

Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:

http://forum.civilea.com/thread-27464.html
***************************************

And this is the result: [video=youtube]:
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:

http://forum.civilea.com/thread-27464.html
***************************************