# Why is LogTicks incorrect?

It is a simple example using CustomTicks package:

<< CustomTicks

Show[LogPlot[x^2, {x, 0, 10}], Ticks -> {Automatic, LogTicks}]


but we can see on the picture that the LogTicks on the vertical axis are not correct for x^2. How can I solve this problem?

• The ticks are being processed twice, once by LogPlot and once by LogTicks. – Brett Champion Feb 16 '17 at 20:17

The easiest fix is do the Log yourself:

Show[Plot[Log10[x^2], {x, 0, 10}], Ticks -> {Automatic, LogTicks}]


Note that the documentation says that you can also use

SetOptions[LogTicks, LogPlot -> True];
`

but it doesn't seem to work straight-forwardly.

• Thank you for the useful answer! – István Szanyi Mar 9 '17 at 16:48