我有以下 Excel 数据和相应的折线图
我想使用 gnuplot 脚本来绘制它
set term postscript eps enhanced monochrome
set output "r-all-float-case4.eps"
set size 1.0,1.0
set pointsize 1.75
set xlabel "X-values" font "Times-Roman,24"
set title "Irregular intervals"
set key ins vert left top
set key spacing 1.5
set key font ",14"
set size 1.0,1.0
set ylabel "time" font "Times-Roman,24"
set log y
plot \
"mydata" using 1:2 title "Y1" with lp lt 1 lw 3 , \
"mydata" using 1:3 title "Y2" with lp lt 2 lw 3
它给了我以下输出
我怎样才能使 x 轴看起来与 Excel 轴相同(具有固定间隔的数据点)?