I don’t know much about Jupyter but the following should work:
using Plots
function gaussian(x)
exp(-(x)^2)
end
x = -10:10
y=gaussian.(x)
plot(x,y,linewidth=1.5, linecolor=:blue)
At least it works in Atom.
I don’t know much about Jupyter but the following should work:
using Plots
function gaussian(x)
exp(-(x)^2)
end
x = -10:10
y=gaussian.(x)
plot(x,y,linewidth=1.5, linecolor=:blue)
At least it works in Atom.