Like the warning message tells you: you are missing blank lines in your file. For use with pm3d
, the data must be organized as follows:
x0 y0 z00
x0 y1 z01
....
x0 yN z0N
x1 y0 z10
x1 y1 z11
...
x1 yN z1N
etc. You must have a single blank line between consecutive x values.