The x axis on my gnuplot looks similar to this:
2 4 8 16 32 64 72 86 98 112 128 256 512 1024 ... 1048576
So these are log2 values that go from 2, 4, 8 .. 1048576. The problem is that there are certain intermediate values like 72,86,98,112 etc. which are not log2 based values, and are so close to each other that the labels overlap. Is there a way I can keep the tics (i.e. plot the values) but not display the labels on the x axis? I want to display only those labels that are an exact power of 2, but I want to show all values on the plot.
Thanks.
The tics may be turned off with the unset xtics command, and may be turned on (the default state) with set xtics. Similar commands control the major tics on the y, z, x2 and y2 axes.
The set ytics command controls major (labelled) tics on the y axis. Please see set xtics (p. ) for details.
just define the xtics manually... for example:
set xtics ("2" 2,"4" 4, "8" 8,"16" 16,"32" 32,"64" 64)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With