零轴未出现在Gnuplot中的热图上

零轴未出现在Gnuplot中的热图上,plot,gnuplot,Plot,Gnuplot,我试图在热图上显示零轴。我的代码如下:- set term wxt set size 0.9,0.9 set border lw 2 set palette rgbformulae 33,13,10 set cbrange [0:1] set xrange[-180:180] set yrange[-180:180] set cbrange[0:0.002] set xtics center out 60 set ytics out 60 set xtics font ':Bold' set y

我试图在热图上显示零轴。我的代码如下:-

set term wxt
set size 0.9,0.9
set border lw 2
set palette rgbformulae 33,13,10
set cbrange [0:1]
set xrange[-180:180]
set yrange[-180:180]
set cbrange[0:0.002]
set xtics center out 60
set ytics out 60
set xtics font ':Bold'
set ytics font ':Bold'
set xlabel "{/:Bold x}"
set ylabel "{/:Bold y}"
set zeroaxis lt -1 lw 2 
plot 'data.txt' u 1:2:3 w image notitle 
零轴显示在热图后面。结果图如下所示。我如何在热图上显示它


它由网格线的前/后状态控制。请注意,当您将其设置为“front”时,默认情况下会启用x轴网线和y轴网线,因此您可能希望再次禁用它们:

set grid front nox noy