I have run into a strange problem. Every time I try to plot "with image" using a non-square data file I get very unexpected results. Nowhere in any of the sources I've read mentioned anything about whether the domain needed to have the same dimensions.
For example, I have a file called plate which consists of many datablocks each with 4 tab-separated columns. The second and third columns represent x and y coordinates respectively. The first datablock in plate goes like:
0 0 0 293
0 0 0.1 293
. . . .
. . . .
. . . .
0 5 4.9 293
0 5 5 293
When I plot "plate" index 0 using 2:3:4 with image I get the expected result. This works for every index and the result is a square heat map with the 4th column as the heat value. I want to do the same with my file called pipe, which uses the same format except for different ranges on columns 2 and 3.
0 5 2.2 293
0 5 2.3 293
. . . .
. . . .
. . . .
0 10 2.9 293
0 10 3 293
Currently, I get the following:
The output should show a solid horizontal bar adjacent to the square but instead it is distorted.
I have tried other non-square data files and the results were even different from the attached image. One attempt basically doubled the image but kept it square, even when the data wasn't.
Below is a truncated sample of pipe for testing.
0 5 2.2 293
0 5 2.3 293
0 5 2.4 293
0 5 2.5 293
0 5 2.6 293
0 5 2.7 293
0 5 2.8 293
0 5 2.9 293
0 5 3 293
0 5.1 2.2 293
0 5.1 2.3 293
0 5.1 2.4 293
0 5.1 2.5 293
0 5.1 2.6 293
0 5.1 2.7 293
0 5.1 2.8 293
0 5.1 2.9 293
0 5.1 3 293


