$ cat data.txt
01 1.95
02 1.88
03 2.29
04 3.62
05 2.95
06 1.93
07 1.95
08 2.18
09 1.50
10 2.76
11 1.31
12 1.58
13 3.30
14 2.46
15 3.65
16 1.48
17 3.26
18 2.90
19 1.94
20 2.98
21 2.00
22 1.75
23 1.53
24 1.48
25 3.30
26 1.58
gnuplot> set xlabel 'x'
gnuplot> set ylabel 'y'
gnuplot> plot 'data.txt' with lp
效果图:
