Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*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 1999

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

Search the Archive

Re: Graphic simple?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18351] Re: [mg18251] Graphic simple?
  • From: Maarten.vanderBurgt at icos.be
  • Date: Wed, 30 Jun 1999 14:13:21 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Jesus,

Try:

In[1]:= <<Calculus`DiracDelta`
In[2]:= Plot[t-(t-1) UnitStep[t-1],{t,0,5},PlotRange->All]

Whenever you're not sure about a plot, try the option PlotRange -> All.
With the default setting, PlotRange -> Automatic, extreme values are often
chopped.
Although I do not understand why it does so in your case: O and 1 are not
really outlying points and

Plot[UnitStep[t-1],{t,0,5},PlotRange -> Automatic]

works fine.

Maarten

_______________________________________________________________

Maarten van der Burgt

ICOS Vision Systems
Esperantolaan 9
B-3001 Leuven, Belgium
tel. + 32 16 398220; direct + 32 16 398316; fax. + 32 16 400067
e-mail: maarten.vanderburgt at icos.be
_______________________________________________________________





  • Prev by Date: Re: easiest way to sort a list?
  • Next by Date: Help
  • Previous by thread: Re: Graphic simple?
  • Next by thread: REDUCE vs. a symoblic function