MathGroup Archive 1998

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

Search the Archive

Re: plotting singular functions


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