Gnuplot 每n列打印一次
我有以下数据Gnuplot 每n列打印一次,gnuplot,data-manipulation,Gnuplot,Data Manipulation,我有以下数据 ... 10800 42.835282 2.0799322 9.6376456 14.69194 15.74205 16.591997 14.208506 17.036752 16.974312 30.759594 318.69734 10900 59.608134 2.0319971 10.413494 17.136174 18.597465 19.31398
...
10800 42.835282 2.0799322 9.6376456 14.69194 15.74205 16.591997 14.208506 17.036752 16.974312 30.759594 318.69734
10900 59.608134 2.0319971 10.413494 17.136174 18.597465 19.31398 16.78688 19.939459 20.034195 43.809158 470.3118
11000 71.147383 2.3502536 11.098845 19.525944 21.618026 22.255387 19.446565 22.871378 23.265609 60.717349 559.03537
11100 70.844437 2.5290753 11.759208 21.795673 24.63466 25.294785 22.079689 25.788459 26.690083 80.472264 513.94945
...
我知道用每一个我们可以很容易地画出第n行。但是否有可能在不预处理数据的情况下绘制每N列
我可以手动执行p'velocity'u1:4、'u1:7、'1:10
,但我有很多列,希望以循环或类似方式执行。使用绘图…
:
plot for [i=4:10:3] 'velocity' u 1:i