Sometimes the file that is read by xmgrace has a header like below:
Ratio
0.67
0.52
...
If use xmgrace directly, we cannot plot the curve as expected.
I haven’t found the way of using xmgrace only. Instead, I only found how to specify columns using xmgrace.
With the help of other tools, here is a way to work around.
tail -n +2 a.txt | xmgrace -pipe
or
sed 1d a.txt | xmgrace -pipe