Menu

#241 Gnuplot genereated movies, gif

open
nobody
1
2019-03-11
2019-03-11
No

I have made a movie using gnuplot using the following code. But it generates movies with twinkling effect in circles. Can somebody tell me the reason for this and how to get rid of this problem.

set term gif size 500,400 animate delay 5 optimize 
set output "AnimatedCircle.gif"

set yrange[-1.5:1.5]
set xrange[0:1]

imax = 100.
do for [i=0:imax] {
    plot '+' u (i/imax):(sin(2*pi*i/imax)):(0.1) with circles lc rgb "black" lw 3 title sprintf("Circle %d",i),\
         '+' u (i/imax):(sin(2*pi*i/imax)):(0.13) with circles lc rgb "black" lw 3 title sprintf("Circle %d",i),\
     '+' u (i/imax):(sin(2*pi*i/imax)):(0.08) with circles lc rgb "black" lw 3 title sprintf("Circle %d",i)
}
set output
1 Attachments

Discussion


Log in to post a comment.