MathGroup Archive 1999

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

Search the Archive

Re: Graphic simple?

  • To: mathgroup at
  • Subject: [mg18280] Re: Graphic simple?
  • From: Murray Eisenberg <murray at>
  • Date: Fri, 25 Jun 1999 15:05:25 -0400
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <7ktv1m$>
  • Sender: owner-wri-mathgroup at

You don't say in what way Mathematica is not plotting this function as
you expect to see it.

In Mathematica 4, I get a correct graph of the function -- although it
does not show me the part of the sloped line below y = 0.85.  (Recall
that Mathematica decides what part of the range is "appropriate".)

Try, say:

   Plot[t - (t - 1) UnitStep[t - 1], {t, 0, 5}, PlotRange -> All];

You will undoubtedly get what you "expected" to see.

Jesus Perez Ortega wrote:
> I don't know why the mathematica don't plot well this sinple graphic
> Plot[t-(t-1) UnitStep[t-1],{t,0,5}]

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

  • Prev by Date: Re: Graphic simple?
  • Next by Date: Re: Graphic simple?
  • Previous by thread: Re: Graphic simple?
  • Next by thread: Re: Graphic simple?