Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1928
| From | Patrick Scheibe <pscheibe@trm.uni-leipzig.de> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Bug in ListContourPlot? |
| Date | 2011-04-30 09:52 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ipgm5l$8r4$1@smc.vnet.net> (permalink) |
Hi,
same behavoir here (Ubuntu 64bit, Kernel crashes after 20 sec.).
I assume Mathematica runs into trouble while recognizing the tiny
differences of your coordinates when it tries to triangulate the points
to make an interpolation possible. Adding a bit perturbation to your
data helps on my machine (although there is of course the possibility
that the random pertubation is badly choosen by some incompetent random
generator):
data = {{0.42256875000000005`, 3091.38125`,
8.271213205043878`}, {0.42256875000000005`, 3092.00625`,
6.266039117378199`}, {0.4263187500000001`, 3091.38125`,
5.613752062730342`}, {0.4263187500000001`,
3092.00625`, -5.684341886080802`*^-14}, {0.4263187500000001`,
3092.63125`, 5.599651386371079`}, {0.43006875000000006`,
3092.00625`, 6.059667975471868`}} /. {x_, y_,
z_} :> {x + RandomReal[{-10^-10, 10^-10}],
y + RandomReal[{-10^-10, 10^-10}], z};
ListContourPlot[data]
Cheers
Patrick
On Thu, 2011-04-28 at 06:37 -0400, Barak Shoshany wrote:
> Please copy and paste this into a Mathematica notebook:
>
> ListContourPlot[{{0.42256875000000005`, 3091.38125`,
> 8.271213205043878`}, {0.42256875000000005`, 3092.00625`,
> 6.266039117378199`}, {0.4263187500000001`, 3091.38125`,
> 5.613752062730342`}, {0.4263187500000001`,
> 3092.00625`, -5.684341886080802`*^-14}, {0.4263187500000001`,
> 3092.63125`, 5.599651386371079`}, {0.43006875000000006`,
> 3092.00625`, 6.059667975471868`}}]
>
> When I execute this code on my computer (Mathematica v8.0.1, Windows 7
> x64), the Mathematica kernel hangs. Does this happen to anyone else as
> well?
>
> Barak
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Bug in ListContourPlot? Patrick Scheibe <pscheibe@trm.uni-leipzig.de> - 2011-04-30 09:52 +0000
csiph-web