Animated chart in a movie clip? - Printable Version +- Civil Engineering Association (https://forum.civilea.com) +-- Forum: Various (https://forum.civilea.com/forum-6.html) +--- Forum: Free Discussion (https://forum.civilea.com/forum-46.html) +--- Thread: Animated chart in a movie clip? (/thread-46947.html) |
Animated chart in a movie clip? - AlmostThere - 03-24-2014 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! RE: Animated chart in a movie clip? - rusty - 03-24-2014 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: *************************************** animation package: Code: *************************************** animation examples created with the package: Code: *************************************** The animation created in R can be directly implemented into pdf files too. You can use Matlab to create animation as well. RE: Animated chart in a movie clip? - elbarto_87 - 03-24-2014 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. RE: Animated chart in a movie clip? - AlmostThere - 03-31-2014 Thank you for your help and cooperation! I used R software and the the code from this site: Code: *************************************** Code: *************************************** And this is the result: [video=youtube]: Code: *************************************** |