Hello,

I am trying to fun the following example from 
http://plots.readthedocs.org/en/latest/

using Plots
pyplot(size=(300,300))
# initialize the attractor
n = 3000
dt = 0.02
σ, ρ, β = 10., 28., 8/3
x, y, z = 1., 1., 1.
X, Y, Z = [x], [y], [z]
# build an animated gif, saving every 10th frame@gif for i=1:n
    dx = σ*(y - x);      x += dt * dx; push!(X,x)
    dy = x*(ρ - z) - y;  y += dt * dy; push!(Y,y)
    dz = x*y - β*z;      z += dt * dz; push!(Z,z)
    plot3d(X,Y,Z)end every 10

I get the error message:

ERROR: LoadError: UndefVarError: @gif not defined

Any idea, where @gif should be defined?

Best regards:

Uwe

Reply via email to