Re: Plotting w/o artifacts at discontinuities
- To: mathgroup@smc.vnet.net
- Subject: [mg12184] Re: [mg12086] Plotting w/o artifacts at discontinuities
- From: "Dr. Sergio Terrazas" <sterraza@campus.cdj.itesm.mx>
- Date: Fri, 1 May 1998 03:08:36 -0400
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 > > >