Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: avoid spurious vertical segment in step function plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23352] Re: avoid spurious vertical segment in step function plot
  • From: Roland Franzius <Roland.Franzius at uos.de>
  • Date: Thu, 4 May 2000 02:59:19 -0400 (EDT)
  • Organization: RRZN - Newsserver Test
  • References: <8elmsq$sie@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

ListPlot[Table[{0.01n, UnitStep[0.01 n - 0.2]}, {n, -100, 100}]]?
Ok, I dont know no a better way ;)

Murray Eisenberg schrieb:
> 
> 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

-- 
Roland Franzius

  +++ exactly <<n>> lines of this message have value <<FALSE>> +++


  • Prev by Date: Re: collect derivatives
  • Next by Date: Re: Making Mathematica "beep"
  • Previous by thread: RE: avoid spurious vertical segment in step function plot
  • Next by thread: Re: avoid spurious vertical segment in step function plot