Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7686 > unrolled thread
| Started by | Richard Fateman <fateman@eecs.berkeley.edu> |
|---|---|
| First post | 2012-01-09 08:22 +0000 |
| Last post | 2012-01-09 08:22 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: more plotting peculiarities Richard Fateman <fateman@eecs.berkeley.edu> - 2012-01-09 08:22 +0000
| From | Richard Fateman <fateman@eecs.berkeley.edu> |
|---|---|
| Date | 2012-01-09 08:22 +0000 |
| Subject | Re: more plotting peculiarities |
| Message-ID | <jee84u$d0l$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web