i'm trying to draw an irrotational vortex with this function:
ListVectorPlot[Table[{-y/(x^2 + y^2), x/(x^2 + y^2)}, {x, -3, 3, 3}, {y, -3, 3, 3}]]
But as you can see this function has a singularity in the origin, so how can i exclude a certain range of values close to the origin?
Thanks?
If[]
inTable[]
to eliminate the singular points at the outset. $\endgroup$Table[If[x == y == 0, {0, 0}, (* stuff *)], (* stuff *)]
. $\endgroup$