|
From: theozh <th...@gm...> - 2017-12-14 19:07:37
|
Is there maybe a way in gnuplot to rearrange data of two files into one file according to the scheme below? The number of columns and rows are variable and unknown but they are the same in File1 and File2. The number of rows and columns can be found via 'stats File1': Rows: STATS_records Cols: STATS_columns I tried with plot ... with table or print table ... But didn't yet find a solution with gnuplot. Any ideas? # File1: xxx c01 c02 c03 r01 d11 d12 d13 r02 d21 d22 d23 r03 d31 d32 d33 # File2: xxx c01 c02 c03 r01 e11 e12 e13 r02 e21 e22 e23 r03 e31 e32 e33 # File3: c01 r01 d11 e11 c01 r02 d21 e21 c01 r03 d31 e31 c02 r01 d12 e12 c02 r02 d22 e22 c02 r03 d32 e32 c03 r01 d13 e13 c03 r02 d23 e23 c03 r03 d33 e33 |