MathGroup Archive 1998

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

Search the Archive

Re: Plotting w/o artifacts at discontinuities



Hi!
There is a package in MathSource called DiscontinuityPlot that does wat
you want.
 Bye
Sergio Terrazas

At 01:30 AM 4/25/98 -0400, you wrote:
>I would like to be able to get plots that do not have artifacts from
>discontinuities without having to know where the problem[s] will be in
>advance. 
>
>For example, I would like to be able to say
>	Plot[1/(1+x), {x,-2,1}]
>and get a graph without the vertical line at x==-1.  Though 
>	p1=Plot[1/(1+x), {x,-2,-1}, DisplayFunction->Identity];
>	p2=Plot[1/(1+x), {x,-1,1}, DisplayFunction->Identity];
>	Show[p1,p2, DisplayFunction->$DisplayFunction]; does the trick, it
>requires my anticipation of the problem at x==1.
>
>
>Thanks.
>
>-Bruce
>        Bruce Cohen                    |  INTERNET: bic@cgl.ucsf.edu
>        Lick-Wilmerding High School    |           
>bic@lick.pvt.k12.ca.us
>        755 Ocean Avenue               |  VOICE:    (415) 333-4021
>        San Francisco, CA  94112       |  FAX:      (415) 333-9443 -- 
>        Bruce Cohen                    |  INTERNET: bic@cgl.ucsf.edu
>        Lick-Wilmerding High School    |           
>bic@lick.pvt.k12.ca.us
>        755 Ocean Avenue               |  VOICE:    (415) 333-4021
>        San Francisco, CA  94112       |  FAX:      (415) 333-9443
>
>
>




  • Prev by Date: RE: Approximate
  • Next by Date: Re: Free 1998 Worldwide Mathematica Conference Poster
  • Prev by thread: RE: Approximate
  • Next by thread: Re: Plotting w/o artifacts at discontinuities