MathGroup Archive 2012

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

Search the Archive

Re: more plotting peculiarities

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124098] Re: [mg124075] more plotting peculiarities
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Mon, 9 Jan 2012 03:14:41 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201201080922.EAA01272@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

Those results are wholly unsurprising (Version 8). After all, look at 
some sampled values in the domains, e.g.:

   1.0 + 2.0^-47 Range[-5, 5, .1] // NumberForm[#, 15] &
   1.02 + 2.0^-47 Range[-5, 5, .1] // NumberForm[#, 15] &

And then take Cos of each list.

Actually, the plot from the first expression does NOT look empty to me: 
I see a thickened horizontal axis located at height y = 0.54. Using 
option AxesOrigin -> {0,0} reveals what appears to be a line at that height.

And the plot from the second is essentially a linearization, given that 
its range is from around 0.523365951251619 to 0.52336595125168.

On 1/8/12 4:22 AM, Richard Fateman wrote:
> Plot[Cos[1.0 + n*2.0^-47], {n, -5, 5}]  looks empty
>
> Plot[Cos[1.02 + n*2.0^-47], {n, -5, 5}]
>     looks like a straight line with slope about -1
>
> version 7
>

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305



  • Prev by Date: RE: For a variety of plotting experiences, maybe bugs? (small intervals)
  • Next by Date: Re: Re: SortBy for multiple key sorts
  • Previous by thread: Re: more plotting peculiarities
  • Next by thread: Re: more plotting peculiarities