1
我正在gnuplot線點創建一個comulative和正態分佈圖。我已經創建了一個文件來向這兩個圖表提供信息。 我試圖繪製最後的數據時遇到了問題。 這是我創建第二個圖形的腳本。帶AWK的最後一個數據列創建一個線點gnuplot
plot.plt
set term pos eps
set style data linespoints
set style line 1 lc 8 lt -1
set size 1,1
set yr [0:20]
set key below
set grid
set output 'output.eps'
plot "<awk '{i=i+$3; print $1,i}' data.dat" smooth cumulative t 'twitter' ls 1
data.dat文件
5.0 1 0.10
9.0 5 0.20
13.0 7 0.30
14.0 1 0.20
15.0 9 0.20
我想創建x軸與第一列和y軸與最後一列。所以y軸範圍必須在0到1之間。哪一部分應該改變?謝謝
謝謝@christoph,我使用平滑累計,因爲我在前面的linepoint中找到水平線。我只知道它也做了一次手術, – indi60 2015-04-02 20:37:27