The figure has too many xtics and ytics. Can I have half of them?
I know I can manually set tics in a way similar to this:
set xtics (1,2,4,8,16,32,6
There are different ways to set the number of tics depending on what exactly you want to do. For a fixed segment of length 2, starting at zero and ending at 32:
set xrange [0:32]
set xtics 0,2,32
plot sin(x)
If you want an exponential increment, try the following
set xrange [0:32]
set for [i=0:5] xtics (0,2**i)
plot sin(x)
Or you can use a logarithmic scale (in base 2 in this case):
set xrange [1:32]
set logscale x 2
plot sin(x)