Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7686

Re: more plotting peculiarities

From Richard Fateman <fateman@eecs.berkeley.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: more plotting peculiarities
Date 2012-01-09 08:22 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jee84u$d0l$1@smc.vnet.net> (permalink)
References <201201080922.EAA01272@smc.vnet.net> <4F09EDC6.8020206@math.umass.edu>

Show all headers | View raw


On 1/8/2012 11:25 AM, Murray Eisenberg wrote:
> Those results are wholly unsurprising (Version 8). After all, look at 
> some sampled values in the domains, e.g.:
>
>   Z = (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.
>
Using PlotRange->Full   or PlotRange->Automatic  should show that line 
better. But doesn't.


ListPlot[Z, PlotRange -> {0.9999999999999, 1.0000000000001}]  works however.
.
My guess is that the computation of PlotRange is done using 
Mathematica's arithmetic and
consequently produces something defective.

I call this a bug.


>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re:  more plotting peculiarities Richard Fateman <fateman@eecs.berkeley.edu> - 2012-01-09 08:22 +0000

csiph-web