У меня есть данные: test.txt
6540.00 36040352.00
6540.02 36033872.00
6540.04 36027784.00
6540.06 36027784.00
6540.08 36021308.00
6540.10 36008740.00
6540.12 35983212.00
У меня появляется эта ошибка после использования gnuplot:
plot 'test.txt'
^
all points y value undefined!
Что не так, пожалуйста?
Код, который я использовалдля нескольких графиков:
set term pngcairo size 800,600 font "Times New Roman,12"
set output "f.png"
set border lw 1.4
set title offset 0,-0.5
set grid xtics ytics ls -1 lc "gray"
set tics out nomirror
Row1 = "set tmargin screen 0.92; set bmargin screen 0.40"
Row2 = "set tmargin screen 0.40; set bmargin screen 0.20"
Col1 = "set lmargin screen 0.10; set rmargin screen 0.88"
set multiplot layout 2,1 rowsfirst
@Row1; @Col1
set key out horiz bot width 5 reverse Left #box
set tics out nomirror
set xrange [6560.8:6564.8]
plot 'test.txt' with lines linecolor rgb "black" lw 1.1 title "{/:Bold l}"
@Row2; @Col1
set key out horiz bot width 5 reverse Left #box
set tics out nomirror
set xrange [6676:6680]
plot 'test.txt' with lines linecolor rgb "black" lw 1.1 title "{/:Bold l}"
Когда я хочу построить данные, это работает.