Re: Bug in ListContourPlot?
- To: mathgroup at smc.vnet.net
- Subject: [mg118509] Re: Bug in ListContourPlot?
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Sat, 30 Apr 2011 05:52:39 -0400 (EDT)
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 >