Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7683 > unrolled thread
| Started by | Richard Fateman <fateman@eecs.berkeley.edu> |
|---|---|
| First post | 2012-01-09 08:21 +0000 |
| Last post | 2012-01-09 08:21 +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:21 +0000
| From | Richard Fateman <fateman@eecs.berkeley.edu> |
|---|---|
| Date | 2012-01-09 08:21 +0000 |
| Subject | Re: more plotting peculiarities |
| Message-ID | <jee822$cv8$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.:
>
> 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.
OK, then explain why 1.0 vs 1.02 makes a huge difference. Do you not
find that surprising?
>
> 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.
Yes, I saw that too. The plot looks empty, though. It certainly is
highly uninformative.
> 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.
Yes, actually what I expect from a normal plotting program is steps that
illustrate the discretization of the function values to
particular machine floating point numbers. How do you suggest doing
that with Mathematica?
>
> 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
>>
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web