Pkg.add("Gadfly")
Pkg.update
using Gadfly
x=Array(Float64,1000,1)
y=Array(Float64,1000,1)
i=0
while i<1000
i+=1
x[i]=i
end
function f(x)
...
end
i=0
while i<1000
i+=1
y[i]=f(x[i])
end
plot(x=x,y=y,Geom.point)
Pkg.add("Gadfly")
Pkg.update
using Gadfly
x=Array(Float64,1000,1)
y=Array(Float64,1000,1)
i=0
while i<1000
i+=1
x[i]=i
end
function f(x)
...
end
i=0
while i<1000
i+=1
y[i]=f(x[i])
end
plot(x=x,y=y,Geom.point)