MathGroup Archive 2006

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

Search the Archive

Re: x/x

Sinan Kapçak wrote:
> I plot the function f(x)=x/x in mathematica but I do not get the graph what i expect. Is this problem something about plot options?\

Wow, try this with a large number of plotpoints:

Plot[x/x, {x, -2, 2}, PlotPoints -> 500];
Plot[x/x, {x, -2, 2}, PlotPoints -> 15000];

It's kind of amusing and I will be interested to hear about why exactly
that happens, but you can get what you want with

Plot[Evaluate[x/x], {x, -2, 2}];

  • Prev by Date: Re: x/x
  • Next by Date: RE: x/x
  • Previous by thread: Re: x/x
  • Next by thread: RE: x/x