Hello everybody,
I need to animate a peace of experimental data. The outline of calculation is below.
… #some calculations
anim = Animation()
l = @layout [a; c{0.2h}]
for (n_, line) in enumerate(lines1)
… #some calculations
if stp == 100
… #some calculations
plot( plot(VU, LH, st = scatter), plot( DT, AP, st = scatter), layout = l)
frame(anim)
…#some calculations
end
end
gif(anim, “hhh.gif”, fps=15)
VU, LH - are fixed sized Float64 vectors
DT, AP - are variable sized Time and Float64 vectors
The Animation is OK if there is only one plot.
If there are two plots i got only one (the first) frame rendered in the animation (the rest are blank).
It looks like a need to enforce recalculating Plot’s internals in the cycle before plotting and framing.
Is it possible to fix the problem?
Thanks, to advance