[Scilab-users] animation of multiple plots
Tim Wescott
tim at wescottdesign.com
Tue Sep 15 19:44:37 CEST 2015
I cannot remember the name of the application, but there is software out
there that will take a number of static images and compile them into
mpeg or other "movie" format.
I've done it, but it was long ago on a computer far, far away. I'd have
to google for it, and my Google Fu is not something to write home about
-- try some variation on "animated movie from stills" or "jpeg to mpeg"
or some such.
On Tue, 2015-09-15 at 15:57 +0200, grivet wrote:
> Hi,
>
> I am trying to animate multiple plots. For instance, when modeling the
> motion of a planet
> around the sun, I wish to plot, in one window, the planet's position
> and, in another window, the tip of the velocity vector, both plots
> evolving with time.
> I can do that in principle with the following algorithm.
> for each time point
> compute x,y,vx,vy
> define he2 handle of the trajectory
> define he6 handle of the velocity curve
> drawlater()
> subplot(1,2,1)
> update trajectory: he2.children(1).data = [x(t(1:i)),y(t(1:i))]
> subplot (1,2,2)
> update velocity: he6.children(1).data = [vx(t(1:i)),vy(t(1:i))]
> drawnow()
> record gif image
> update x,y,vx,vy
> end
> Using imageMagick, I then combine all the gif's in an single animation
> file.
>
> This process works on my computer. I can visualize the animation using
> Irfanview,
> Chrome or Internet Explorer, but not Firefox which shows only the last
> image.
> The situation gets worse when I try to post this animation on the Net:
> no program
> that I know of can display the animation, they all display the first image.
>
> I have written other animations which behave properly (see
> https://grenoble-sciences.ujf-grenoble.fr/pap-ebook/grivet/liste-animations).
> However, there is one,
> probably significant, difference: these working animations don't use
> multiple windows.
>
> I would be very grateful for any suggestion on how to run two animations
> side by side.
> Thank you in advance for your time and help.
> JP Grivet
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
>
--
Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell: 503.349.8432
More information about the users
mailing list