Gnuplot, how to add a grid without ticks?

gnuplot

Solution

To hide the major ticks, you can use `set tics scale 0`:

set grid
set tics scale 0
plot x

Note, if one day you also want to use minor ticks and also hide them, you must use `set tics scale 0,0.001`.

Problem

I have something like: ``` set grid xtics lt 0 lw 1 lc rgb "#a9a9a9" set grid ytics lt 0 lw 1 lc rgb "#a9a9a9" ``` or the same without the "xtics" tag, and that works fine! But if i add: ``` unset xtics ``` Then the grid disappears too :( How can I only have a grid, without tics?

Original source