JuliaTest



In [1]:
print("Hallo julia")


Hallo julia

In [2]:
using PyPlot

In [3]:
x = collect(1:100);
y= sin.(x)


Out[3]:
100-element Array{Float64,1}:
  0.8414709848078965 
  0.9092974268256817 
  0.1411200080598672 
 -0.7568024953079282 
 -0.9589242746631385 
 -0.27941549819892586
  0.6569865987187891 
  0.9893582466233818 
  0.4121184852417566 
 -0.5440211108893698 
 -0.9999902065507035 
 -0.5365729180004349 
  0.4201670368266409 
  ⋮                  
  0.8600694058124532 
  0.8939966636005579 
  0.10598751175115685
 -0.7794660696158047 
 -0.9482821412699473 
 -0.24525198546765434
  0.683261714736121  
  0.9835877454343449 
  0.3796077390275217 
 -0.5733818719904229 
 -0.9992068341863537 
 -0.5063656411097588 

In [4]:
plot(x, y)


Out[4]:
1-element Array{PyCall.PyObject,1}:
 PyObject <matplotlib.lines.Line2D object at 0x138ca9780>

In [ ]: