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}]
\addplot {2^x};
\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?
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...)max space between ticks=1
does work to resolve first problem. What to do iflog base y={11}
is involved?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).1*11, 2*11, ..., 10*11
).