MathGroup Archive 2007

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

Search the Archive

Option for continuous plot

  • To: mathgroup at
  • Subject: [mg72890] Option for continuous plot
  • From: Virgil Stokes <vs at>
  • Date: Wed, 24 Jan 2007 05:58:14 -0500 (EST)

I have defined the following two functions:

poissonProcess[λ_,n_] := FoldList[Plus,0,Table[-1/λ Log[1-Random[]],{n}]]

showPoissonProcess[λ_,n_,opts___] := With[{pp = poissonProcess[λ,n]},

for plotting a Poisson process; i.e.,

showPoissonProcess[4, 20, AspectRatio -> 0.3];

does indeed plot this process. However, I would like to have an option 
that would allow for these horizontal lines to be connected; i.e., 
produce a continuous curve.

Is there a easy way to do this?

V. Stokes

  • Prev by Date: Re: Re: How install tools for mmade?
  • Next by Date: Re: text equation
  • Previous by thread: missing ticks in graphics linux
  • Next by thread: Re: Option for continuous plot