Axes format is set either by using set format xeither set xtics format(equivalent commands to y, z, x2, y2and cbexist).
Use show formatto find out which format is the default (result for 4.6.6, starting with 5.0 by default % h)
gnuplot> show format
tic format is:
x-axis: "% g"
...
%g- gnuplot format specifier, but works similarly to the C format specifiers used for sprintfand similar functions. Definition %gaccording to gnuplot documentation: "shorter %eand %f". This is why the format can change for one axis.
So finally, to switch to a fixed format for all ticks, use, for example,
set format y '%.0f'
source
share