Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.
ListDensityPlot[
 Flatten[Table[{i, j, Sin[i + j]}, {i, 1, 20}, {j, 1, 20}], 1]]

gives the expected result, but a linear scale crashes my kernel (please save your work before trying)

ListDensityPlot[
 Flatten[Table[{i*1.*^15, j, Sin[i + j]}, {i, 1, 20}, {j, 1, 20}], 1]]

why? And how to fix it? I'm using OS X 10.9.

Here is the screen crop.

enter image description here

share|improve this question
    
Have you written support@wolfram.com about this? –  rcollyer Oct 26 '13 at 21:32
1  
Same thing happens here. I backed off from the 10^15 and it plotted fine at 10^5 but crashed at 10^7... –  bill s Oct 26 '13 at 21:37
1  
@xslittlegrass In general, if you have a crash you can reproduce on your machine easily, always report it to Wolfram. Sometimes the issue comes from a very specific configuration of your hardware and still Wolfram should know about it. Btw, on my Ubuntu I have a crash too with your code. –  halirutan Oct 26 '13 at 22:21
1  
Related to this I think. –  Simon Woods Oct 26 '13 at 23:39
1  
reply from wolfram: "I would like to confirm that you really do want your x-values in the form i*1.*^15 i.e. numbers like 1.*10^15, 2.*10^15 and so on. If this is indeed what you want then I see that Mathematica does have a problem trying to generate a density plot with your array. It seems to be handling x-values upto 1.*10^5 but from 1.*10^6 onwards it is unable to create the plot and crashes.I have alerted the associated development team about this issue and also recorded your contact details in my report. We will keep you posted as and when a resolution becomes available." –  xslittlegrass Oct 30 '13 at 17:42
show 6 more comments

1 Answer

up vote 4 down vote accepted

According to xslittlegrass this reply was received from WRI:

I would like to confirm that you really do want your x-values in the form i*1.*^15 i.e. numbers like 1.*10^15, 2.*10^15 and so on. If this is indeed what you want then I see that Mathematica does have a problem trying to generate a density plot with your array. It seems to be handling x-values up to 1.*10^5 but from 1.*10^6 onwards it is unable to create the plot and crashes. I have alerted the associated development team about this issue and also recorded your contact details in my report. We will keep you posted as and when a resolution becomes available.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.