Gnuplot 相对于固定数据元素打印

Gnuplot 相对于固定数据元素打印,gnuplot,Gnuplot,我有以下数据文件: x y 1 50.583 2 27.842 3 19.156 4 15.491 6 9.779 8 8.584 12 6.436

我有以下数据文件:

x  y
 1 50.583
 2 27.842
 3 19.156                                                              
 4 15.491
 6  9.779
 8  8.584                                                              
12  6.436                                                              
16  4.595
24  3.605
32  2.447

我想绘制点(xi,yi/y1)。如何使用gnuplot实现这一点?

我想我找到了一个使用shell脚本的解决方案:

#!/bin/sh
base=`head -n1 input.txt | cut -f2 -d' '`
gnuplot << EOF
plot input.txt using 1:(\$2 / $base)
EOF
#/垃圾箱/垃圾箱
base=`head-n1 input.txt | cut-f2-d''`
gnuplot