Skip to content

Instantly share code, notes, and snippets.

Good morning,
I am trying to get plot in 3d with Julia (IJ) using PyPlot(Matplotlib):
-----------
In[]: using PyPlot
using PyCall
In[665]: function ot(tx, ty)
(2*besselj1(sqrt((1600*pi*tx/(41253*l))^2 + (1600*pi*ty/(41253*l))^2))/
(sqrt((1600*pi*tx/(41253*l))^2 + (1600*pi*ty/(41253*l)))^2))^2
end
In[680]: step = 0.04