I have a \pgfplotstable
with data (loaded from a file) like this one:
\pgfplotstableread{
s f
0.0 95.9638
0.2380665 160.565
0.511 190.435
0.705 270.435
1.0 455.9638
}\data
I need to generate this \pgfplotstable
rearranging rows and columns of \data
:
\pgfplotstableread{
s f
1.0 270.435
0.705 190.435
0.511 160.565
0.2380665 95.9638
0.0 <95.9638 or any other value>
}\customdata
The rows are in inverted order and the second column displaced 1 element above.
Any advice, please?