I like to make an animated (gif) bar plot year wise. I have attached the gdp per capita.csv. I can make it using python Matplollib but how I can make it in Julia plot makie ?
thanks in advance
I like to make an animated (gif) bar plot year wise. I have attached the gdp per capita.csv. I can make it using python Matplollib but how I can make it in Julia plot makie ?
thanks in advance
Have you had a look at the Makie.jl docs on this?
http://makie.juliaplots.org/dev/animation.html
Or, the Plots.jl docs?
You donβt need Makie do that, itβs plain simple in Julia Plots.
If you want to see the GIF directly, use
@gif for i β 1:n
<insert plot function for one frame here>
end
If you want to save it as GIF or some other format (for example, I find MP4 very useful):
anim = @animate for i β 1:n
<same as above>
end
and then save it
gif(anim, "path/to/file", fps=2)