Re: Mathematica 5 : strange Plot

*To*: mathgroup at smc.vnet.net*Subject*: [mg43978] Re: Mathematica 5 : strange Plot*From*: "Chia-Ming" <yucalf at mail.educities.edu.tw>*Date*: Thu, 16 Oct 2003 04:16:14 -0400 (EDT)*Organization*: DCI HiNet*References*: <bmj25q$pmd$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Hi pacotomi, I am not sure whether this problem occurs in other versions of Mathematica. I try the following command and then it seems that the problem can be solved by add PlotRange option. Plot[f[x], {x, 0, 100}, PlotRange -> All] If any further discovery, welcome to discuss on the board. Good Luck ChiaMing "pacotomi" <pacotomi at wanadoo.fr> ¦b¶l¥ó news:bmj25q$pmd$1 at smc.vnet.net ¤¤¼¶ ¼g... > 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 >