当使用两个y轴进行绘图时,如何告诉gnuplot不要向x值添加偏移?

当使用两个y轴进行绘图时,如何告诉gnuplot不要向x值添加偏移?,plot,gnuplot,Plot,Gnuplot,我的数据文件如下所示: set xlabel "Tiempo (min)" set ylabel "Corriente en el anillo (mA)" set y2label "Flujo (fotones/s)" set ytics nomirror set y2tics set tics out set autoscale y set autoscale y2 plot 'tan_time_curr_flux.dat' us

我的数据文件如下所示:

set xlabel "Tiempo (min)"
set ylabel "Corriente en el anillo (mA)"
set y2label "Flujo (fotones/s)"
set ytics nomirror
set y2tics
set tics out
set autoscale  y
set autoscale y2
plot 'tan_time_curr_flux.dat' using 1:3 lc rgb 'black' pt 6 lw 2 w lp axes x1y1 title "Corriente", 'tan_time_curr_flux.dat' using 1:4 lc rgb 'blue' pt 5 lw 2 w lp axes x2y2 title "Flujo"
0 12.6 303.1 3.4577387486

120 10.5 278.9 2.8814489572

640 9.45 301.3 2.593304615

我的代码如下所示:

set xlabel "Tiempo (min)"
set ylabel "Corriente en el anillo (mA)"
set y2label "Flujo (fotones/s)"
set ytics nomirror
set y2tics
set tics out
set autoscale  y
set autoscale y2
plot 'tan_time_curr_flux.dat' using 1:3 lc rgb 'black' pt 6 lw 2 w lp axes x1y1 title "Corriente", 'tan_time_curr_flux.dat' using 1:4 lc rgb 'blue' pt 5 lw 2 w lp axes x2y2 title "Flujo"
我的情节是这样的:

如您所见,各个数据点之间在x中有一点偏移。随着x的增长,它变得更加清晰。例如,通量的实际最后一点(flujo)为640,2.59。但图中显示的是700,2.59。如何告诉gnuplot不要向第二条(蓝色)线添加任何偏移

非常感谢!:)

Ps如果我绘制时间(第1列)与通量(第4列)或电流(第3列)的关系。。。 x的值保持正常。(即没有偏移量)

我想这是一个错误


但是,只需将轴x1y2用于第二个绘图,因为您只有一个x值。

我认为是..
轴x1y2
使绘图保持原样。谢谢