set logscale [<axis> ... ] <base>
The ‘logscale’ setting causes an axis to be laid out with logarithmically, rather than linearly, spaced intervals. For example, issuing the command:
set log
would cause all of the axes of a plot to be scaled logarithmically. Alternatively only one, or a selection of axes, can be set to scale logarithmically as follows:
set log x1 y2
This would cause the first - and second
-axes to be scaled logarithmically. Linear scaling can be restored to all axes via:
set nolog
or:
unset log
and to only one, or a selection of axes, via:
set nolog x1 y2
or:
unset log x1y2
Optionally, a base may be specified at the end of the set logscale command, to produce axes labelled in logarithms to arbitrary bases.