I have seen similar questions asked a few years ago but the answers basically involved transposing the data before plotting. As GNUPLOT is evolving maybe there is a simpler way to handle this today?
My data are composition profiles at different time steps during a simulation. Each line represent the composition of an element at a specific time at different points in space and I would like to plot this row by row, in the simplest case just a single row as this
plot '-' using ?:? with lines ls 1
0.310 0.318 0.334 0.364 0.413 0.476 0.532 0.569 0.588 0.595
e
As the simulation may take several hours (days) it would be nice to be able to see how the profiles evolve just by making the simulator generate such a row at certain time steps. For a snapshot at a specific time I could of course write the values in a column and "plot '-' using 0:1" but as I want to save several snapshots in the same file it is simpler to have each profile as a row, not just as an extremely long file with a single value at each row.
At the end I will be interested in plotting all the profiles at the saved time steps but then I could of course transpose the profile matrix.
