3

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!

rhermans
  • 36,518
  • 4
  • 57
  • 149
alessandro
  • 1,085
  • 7
  • 14

1 Answers1

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}}]
Tuku
  • 486
  • 2
  • 4