MathGroup Archive 2008

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

Search the Archive

Re: Connecting discontinuous plots


   p1=UnitStep[t-1];p2=UnitStep[t-2];
   Plot[p1-p2,{t,-1,5},PlotStyle->Directive[Red,Thick],Exclusions->None]
                                                       ^^^^^^^^^^^^^^^^

jsheinwald at comcast.net wrote:
> Hello,
>
> In the following simple step function plot is there a way to connect th=
e
> discontinuities at 1 and 2 so that the plot shows up better?
>
>  p1=UnitStep[t-1]
>  p2=UnitStep[t-2]
>  Plot[p1-p2,{t,-1,5},PlotStyle=AE{Red, Thick}]
>
> Thanks!
>

--
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305



  • Prev by Date: Re: Integration - another Integer as a result
  • Next by Date: Re: solve a problem in mathematica
  • Previous by thread: RE : [mg93734] Connecting discontinuous plots
  • Next by thread: RE: Connecting discontinuous plots