Scale measurement data

后端 未结 2 1838
不知归路
不知归路 2020-12-07 04:33

I have some measured data, experiment.dat which goes like this:

1 2
2 3

Now I want to plot them via some command line

2条回答
  •  南方客
    南方客 (楼主)
    2020-12-07 05:17

    You don't need to multiply the column by minus one, you can simply use:

    p "experiment.dat" u 1:(-$2)
    

    at least with Version 5.4 works fine.

    You can also only use the initial letter of every command.

提交回复
热议问题