MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: plotting singular functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg12839] Re: [mg12770] plotting singular functions
  • From: Sean Ross <seanross at worldnet.att.net>
  • Date: Fri, 12 Jun 1998 18:15:16 -0400
  • References: <199806100704.DAA13646@smc.vnet.net.>
  • Sender: owner-wri-mathgroup at wolfram.com

James Perry wrote:
> 
> Hello Mathgroup,
> 
>         Does anyone know a way of setting up a singular function, say something
> like f[r_,ro_]:=Log[r - ro] so that it has a finite but perhaps large
> value at the singular point so that it can be plotted? I'm looking
> through the manual (Mathematica Book) now,  hoping to find something
> there. Thought someone may have a way of doing this or have some
> experience with plotting singular functions....
> 
> Thanks for any help,
> JP

Something like:

f[r_,ro_/;(Abs[r-r0]<somevalue)]:=singular function

f[r_,ro_]=normal function


--OR--

f[r_,r0]:=Which[
	Abs[r-r0]<somevalue,
	singular function,
	True,
	default function
	]


  • Prev by Date: Re: FullSimplify results
  • Next by Date: Re: Exporting lists from Mathematica 3.0 to Excel
  • Previous by thread: plotting singular functions
  • Next by thread: Re: plotting singular functions