This question already has an answer here:
Let's say I have a table of numerical data with three columns as follows:
X1 Y1 Z1 X1 Y2 Z2 . . . X2 Y1 Z1 X2 Y2 Z2 . . .
Is it possible to export this table in a file such that after each column with constant x there is a blank line?
X1 Y1 Z1 X1 Y2 Z2 . . . (*blank line*) X2 Y1 Z1 X2 Y2 Z2 . . . (*blank line*) X3 Y1 Z1 X3 Y2 Z2 . . .
This is a bit strange but I am trying to use gnuplot to plot contour lines and apparently this is how you have to have the data organised.
Edit: I should have added a working example with how my data is generated. Here is a simple table of how my data looks like:
Now what i want is to export this to a file such that the data is separated in blocks of constant x. So for x=0 we get the fist block of 11 entries then a blank like then the next block with x=1 and so on.