In [1]:
include("kicked-rotor.jl")
Out[1]:
In [2]:
;pwd
In [3]:
;cd ..
In [ ]:
include("kicked-rotor.jl")
In [10]:
import Base.zeros
In [7]:
using PyPlot
In [2]:
function plot_points(N, k=0.5)
data = Base.zeros(N, 2)
x0 = [2pi*rand(), 2pi*rand()]
for i in 1:N
output = T0(x0, k, i)
data[i, 1:2] = output
end
data
end
Out[2]:
In [22]:
k = 0.5
for i in 1:500
points = plot_points(200, k);
plt.plot(points[:,1], points[:,2], "b.", markersize=1, alpha=0.3)
end
plt.ylim(2,4)
plt.xlabel(L"$\theta$")
plt.ylabel(L"$\phi$")
plt.savefig("standard_k$k.pdf")
In [4]:
using PyPlot
In [35]:
Out[35]:
In [ ]: