In [1]:
push!(LOAD_PATH, "$(pwd())/../src"); using PyPlot, StatsBase, Distributions, StochasticProcesses;
In [2]:
let t=linspace(0,1,1000)
plot(t, cumsim(BrownianBridge(), t, 1000), color=(0, 0, 0, .01))
end
Out[2]:
1000-element Array{Any,1}:
PyObject <matplotlib.lines.Line2D object at 0x7f4a86796518>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86796780>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86796978>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86796b70>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86796d68>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86796f60>
PyObject <matplotlib.lines.Line2D object at 0x7f4a8679c198>
PyObject <matplotlib.lines.Line2D object at 0x7f4a8679c390>
PyObject <matplotlib.lines.Line2D object at 0x7f4a8679c588>
PyObject <matplotlib.lines.Line2D object at 0x7f4a8679c780>
PyObject <matplotlib.lines.Line2D object at 0x7f4a8679c978>
PyObject <matplotlib.lines.Line2D object at 0x7f4a8679cb70>
PyObject <matplotlib.lines.Line2D object at 0x7f4a8679cd68>
⋮
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd0208>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd0400>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd05f8>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd07f0>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd09e8>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd0be0>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd0dd8>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd0fd0>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd3208>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd3400>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd35f8>
PyObject <matplotlib.lines.Line2D object at 0x7f4a86cd37f0>
In [ ]:
Content source: mikea/StochasticProcesses.jl
Similar notebooks: