MathGroup Archive 1999

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

Search the Archive

Re: Graphic simple?

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

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 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: Graphic simple?
  • Next by Date: Re: Graphic simple?
  • Previous by thread: Re: Graphic simple?
  • Next by thread: Re: Graphic simple?