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.

I have a simple 3d dataset (size 7035 x 3, I put it on my site if you want to check) which I want to plot with ListContourPlot:

x = Import["http://www.inrim.it/~magni/a.dat"];
ListContourPlot[x, PlotRange -> {All, {0, 6}}]

... and so far so good. But the x scale must - for various reasons - be rescaled, so I did this:

ListContourPlot[x /. {H_, f_, s_} -> {H*80, f, s}, PlotRange -> {All, {0, 6}}]

and M is unable to complete: after some seconds it exits without errors, and I discover the kernel has quit!

share|improve this question
1  
Same. Very strange. –  b.gatessucks Apr 1 at 12:29
    
Kernel crash reproduced in Dell Latitude E6520 2.4GHz 8Gb RAM, Windows 7 SP1 64 bit, Mathematica 9.0.1.0. –  rhermans Apr 1 at 12:36
2  
Try using the option Method -> {"DelaunayDomainScaling" -> True} (see this) –  Simon Woods Apr 1 at 12:56
    
thank you Simon, that worked - though it's really slow compared with the unscaled plot. BTW, I'm on v9.0.1, Linux –  alessandro Apr 1 at 13:06
    
No problem on WinXP V9.0.1.0 –  Kuba Apr 1 at 13:39

1 Answer 1

This may be not a direct answer to your question, and you can try to use GeometricTransformation

x = Import["http://www.inrim.it/~magni/a.dat"];
g= ListContourPlot[x, PlotRange -> {All, {0, 6}}]
Graphics[GeometricTransformation[g[[1]], ScalingTransform[{80, 1}]], 
   AspectRatio -> 1, Axes -> True, PlotRange -> {All, {0, 6}}]
share|improve this answer

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.