In [5]:
using Plots
pyplot(reuse=true)

@gif for i in linspace(0,2π,100)
    X = Y = linspace(-5,5,40)
    surface(X, Y, (x,y) -> sin(x+10sin(i))+cos(y))
end


INFO: Saved animation to /home/tom/.julia/v0.4/ExamplePlots/notebooks/tmp.gif
Out[5]:

In [ ]: