MathGroup Archive 2000

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

Search the Archive

avoid spurious vertical segment in step function plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23327] avoid spurious vertical segment in step function plot
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Tue, 2 May 2000 00:43:09 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • Sender: owner-wri-mathgroup at wolfram.com

Several packages available from MathSource deal with eliminating the
spurious parts of plots of discontinuous functions across vertical
asymptotes.

Is there some simple way of dealing with the similar problem of
eliminating the spurious vertical line segment in plotting a function
with jumps -- for example, in the following?

  Plot[UnitStep[x], {x, -1, 1}]

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.       phone 413 549-1020 (H)
Univ. of Massachusetts                     413 545-2859 (W)
Amherst, MA 01003-4515


  • Prev by Date: Re: Parametric3D
  • Next by Date: Re: Re: Fit with constraints?
  • Previous by thread: Re: RE: [Q] Equation solving?
  • Next by thread: RE: avoid spurious vertical segment in step function plot