Re: x/x
- To: mathgroup at smc.vnet.net
- Subject: [mg66717] Re: [mg66709] x/x
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sat, 27 May 2006 21:03:21 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
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? >