MathGroup Archive 2003

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

Search the Archive

Mathematica 5 : strange Plot


Hi,
Plot[ ] gives me a perplexing graphic :

let :

f[x_] := If [x < 20, 0, x - 20]

Then, I try :

Plot[f[x], {x, 0, 100}]

curiously, I get a plot with x between 0 and 40 and f(x) between 0 and
80. The x range is false but the y one is right.

What's wrong with this simple notebook ?

Pacotomi


  • Prev by Date: What is the limit of x Gamma[n,x] for x->Infinity?
  • Next by Date: what's the largest system solvable in mathematica?
  • Previous by thread: Re: What is the limit of x Gamma[n,x] for x->Infinity?
  • Next by thread: Re: Mathematica 5 : strange Plot