Skip to content

Instantly share code, notes, and snippets.

@ikarino
Last active August 29, 2015 14:10
Show Gist options
  • Save ikarino/c3e45c2f3511fc4a88cd to your computer and use it in GitHub Desktop.
Save ikarino/c3e45c2f3511fc4a88cd to your computer and use it in GitHub Desktop.
successive file into gif animation by gnuplot
#!/usr/bin/env gnuplot
set term gif animate optimize
set output 'ADC1.gif'
do for[i=0:8:1] {
file = sprintf("ADC1-%03d.dat", i)
time = sprintf("t=%d-%d[sec]", i*200, (i+1)*200)
set title time
plot file w l
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment