Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

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?
> 


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