MathGroup Archive 2012

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

Search the Archive

Re: more plotting peculiarities


On Mon, 09 Jan 2012 08:22:54 -0000, Richard Fateman  
<fateman at eecs.berkeley.edu> wrote:

>
> My guess is that the computation of PlotRange is done using
> Mathematica's arithmetic and
> consequently produces something defective.

One can easily do the experiment:

Block[{Internal`$EqualTolerance = -Infinity},
  Print at Plot[Cos[1.0 + n*2.0^-47], {n, -5, 5}]; (* No difference *)
  Print at Plot[Cos[1.02 + n*2.0^-47], {n, -1, 1},
   PlotRange -> {{-1, 1}, {0.523365951251625, 0.52336595125168}}
  ]; (* No difference *)
]

>
> I call this a bug.

I agree. But the reason for it is not the obvious one. There might even be  
an option somewhere to control this, but if so it's definitely  
undocumented and I wasn't able to locate it.



  • Prev by Date: The domain parameter of Reduce[]
  • Next by Date: Re: For a variety of plotting experiences, maybe bugs?
  • Previous by thread: Re: more plotting peculiarities
  • Next by thread: Re: more plotting peculiarities