If you want tic labels to disappear, use set format :
set format x "" set format y "" set grid plot x

If you also donโt need ticks, then, as far as I know, you will need a more complex script, perhaps using iterators and arrows, for example, the following (you will need to change the limits depending on your xrange and yrange and the style of the arrow to your liking) :
unset xtics unset ytics set for [i=-5:5:5] arrow from i,-10 to i,10 nohead set for [j=-5:5:5] arrow from -10,j to 10,j nohead plot x

Miguel
source share