Re: QUESTION ABOUT PLOT VECTOR FIELD
- To: mathgroup at smc.vnet.net
- Subject: [mg18918] Re: QUESTION ABOUT PLOT VECTOR FIELD
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 27 Jul 1999 22:17:23 -0400
- Organization: Universitaet Leipzig
- References: <7ni60c$5nj@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, cut the singular value say 1/($MachineEpsilon+r) instead of 1/r This may prevent the overflow. Hope that helps Jens "Ing. Antonio F.R. CARABIO" wrote: > > I am running Mathematica 2.1, and having trouble using Plot Vector Field > when trying to plot electrostatic fields with singularities of type 1/r > or 1/r^2 at the origin of coordinates. Often when the plot goes near the > origin, the programme answers "Floating Point Error" and the PC goes out > of service. Is there any way of getting a plot in this case?, or do I > have to accept only graphics in regions far from the origin? Can you > help me, please? Thanks in advance. Rubin Carabio. Buenos Aires. > Argentina. > > acarabio at arnet.com.ar