# Minor log y ticks dissapear randomly

Does anybody know how to force y log minor ticks? In the following example, the ticks do show up:

\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[log base y={10}]
\end{semilogyaxis}
\end{tikzpicture}
\end{document}


But if I want to plot 10^x, the ticks disappear:

Or when I change to log base y={11}, the ticks also disappear:

Using yminorticks=true doesn't work. Does anybody know how to get the y log minor ticks back in these cases?

• According to this answer the minor ticks are only set if "if the distance between consecutive major ticks is exactly one logarithmic unit". So if you add try min ticks log=15 the minor ticks will appear but the axis will become crowded. Alternatively you can add them by hand. (Of course there might be a better solution...)
– user194703
Apr 26, 2020 at 8:32
• Thank you. Setting max space between ticks=1 does work to resolve first problem. What to do if log base y={11} is involved? Apr 26, 2020 at 8:49
• Good question. It does not seem to be supported out of the box (or I am missing something).
– user194703
Apr 26, 2020 at 8:53
• The key log identify minor tick positions identifies tick labels at positions ..., 1*10, 2*10, 3*10, 4*10, 5*10, 6*10, 7*10, 8*10, 9*10, 1*10^2, .... This scheme does not make sense any more if you use a base of 11 (which is why the minor ticks are not drawn at all, since there will be a different number of them between two major ticks). Apr 26, 2020 at 22:10
• @RuixiZhang, I disagree with the scheme not making sense if there are 11 minor ticks (at the positions 1*11, 2*11, ..., 10*11). Apr 27, 2020 at 6:32