VectorPlot[{Exp[x],x}, {x,-5,5}, {y,-5,5}, VectorPoints -> Table[{x,1/x},{x,-5,5,0.1}]] The vector at (0,0) shouldn't be there. Why is it drawn?
VectorPlot[{Exp[x],x}, {x,-5,5}, {y,-5,5}, VectorPoints -> Table[{x,1/x},{x,-5,5,0.1}]] The vector at (0,0) shouldn't be there. Why is it drawn?
The problem lies with your VectorPoints. Your list of points given by following table
Table[{x,1/x},{x,-5,5,0.1}] include {0., ComplexInfinity}. You can simply exclude that point.
points = Join[Table[{x, 1/x}, {x, -5, -.1, .1}],Table[{x, 1/x}, {x, .1, 5, .1}]]; VectorPlot[{Exp[x], x}, {x, -5, 5}, {y, -5, 5}, VectorPoints -> points] Table[{x,1/x},{x,-5,5,0.1}] does not contain {0,0}, nor any point close to it. You seem to say it does, right? The point you exclude is {2.77556*10^-16, 3.60288*10^15}, the farthest point from {0,0}, which solves the problem for a reason as yet unexplained. $\endgroup$ {0.,ComplexInfinity}. $\endgroup$ Table[] works, about which I just posted a question. $\endgroup$