I am trying to create a simple animation in 1D, using the Plots.jl with GR as a backend.
Basically, I have a matrix where the rows are the solution u at a time instant. What I was trying to do was to plot the evolution of my solution along time.
For that I checked the website: Plots.jl/animations and tried to apply the two examples.
So, i type the following codes:
@gif for i=1:n plot(x,u_sol[i,:]) end every 10
anim = @animate for i=1:n plot(x,u_sol[i,:]) end gif(anim, "/tmp/anim_fps15.gif", fps = 15) gif(anim, "/tmp/anim_fps30.gif", fps = 30)
In either cases I got this error:
IOError: could not spawn
ffmpeg -v 0 -i 'C:\Users\tiago\AppData\Local\Temp\jl_289C.tmp/%06d.png' -vf palettegen=stats_mode=diff -y 'C:\Users\tiago\AppData\Local\Temp\jl_289C.tmp/palette.bmp': no such file or directory (ENOENT)
I don’t know exactly if I need to install or define something on Juno.
Does anyone had the same or similar problem? Help is welcome.