change save location for gifs
parent
12d2e249ac
commit
b675e17c88
|
|
@ -21,8 +21,9 @@ function animate_gray_scott(sol, N; var=:U)
|
|||
data = var == :U ? u : v
|
||||
Plots.heatmap(data, c=:magma, title="$var at t=$(Int(sol.t[t]))", clims=(0, 1))
|
||||
end
|
||||
gif(anim, "gray_scott.gif", fps=15)
|
||||
gif(anim, "gif/gray_scott.gif", fps=15)
|
||||
end
|
||||
|
||||
# set time to more than 1000
|
||||
sol = AnimalFurFHN.run_simulationG((0.0, 10000.0), 256)
|
||||
animate_gray_scott(sol, 256, var=:U)
|
||||
|
|
|
|||
Loading…
Reference in New Issue