I am using set format x '%.0e'
to have x-axis numbers in scientific format. Problem is, the 0
is shown as 0E+00
. How can I exclude 0
in scientific format?
Also other number has two digits in their exponential. Instead of 2E+01
I want 2E+1
.
To use a different format for the
y
-axis, use%t
(mantissa to base 10) and%T
(power to base 10). See the documentation of the 'format specifiers' (or typehelp format_specifiers
).To change a single entry, you can overwrite the automatic one using
set ytics add
and using the very same numeric value:Result (with 4.6.4):