MathGroup Archive 2006

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

Search the Archive

Re: x/x


Plot[x/x,{x,-1,1}];

Note that all of the tick labels on the y axis are 1. This is zoomed into to the level of machine precision. Either manually control the PlotRange

Plot[x/x,{x,-1,1},PlotRange->{-0.05,2.05}];

Or force evaluation of the function (Plot has Attribute HoldAll) so that it plots the value 1

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


Bob Hanlon

---- "Sinan Kapçak" <sinankapcak at yahoo.com> 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?
> 


  • Prev by Date: Re: x/x
  • Next by Date: ridiculous avi export
  • Previous by thread: Re: x/x
  • Next by thread: Re: x/x