Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GNUplot movie from plots

Tags:

gnuplot

movie

My program generates 100 plots in GNUplot. I would like to concatenate them into a short little film, where each plot is ~0.1s. How can I do this most efficiently?

The least efficient method I can imagine would be to take a screen shot of each plot, somehow put the frames together, and then crop the movie. Thoughts?

Edit: By movie I mean either an animated GIF or a .mov or something like that. The main problem is getting the images from the plots.

like image 941
rhombidodecahedron Avatar asked Dec 31 '25 22:12

rhombidodecahedron


1 Answers

Why use a screenshot? Simply set the terminal to GIF or PNG or whatever, then you get the images. Type "help set terminal" at the gnuplot prompt for a list of which terminals are available to you.

To make an animated gif, you can use Gifsicle or the Gimp.

like image 170
Svante Avatar answered Jan 03 '26 12:01

Svante



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!