Well, no this error went away, but the effect is nevertheless problematic:
It launches PyPlot, and then opens hundreds of windows until the computer
stalls.
Any idea?
On Sunday, March 6, 2016 at 10:09:20 PM UTC+1, Tom Breloff wrote:
>
> I should tag a new version. Pkg.checkout("Plots") should do the trick.
>
> On Sunday, March 6, 2016, Uwe Fechner <[email protected] <javascript:>>
> wrote:
>
>> 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
>>
>>