
有人知道如何強制記錄小刻度嗎?在下面的範例中,刻度線確實出現了:
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[log base y={10}]
\addplot {2^x};
\end{semilogyaxis}
\end{tikzpicture}
\end{document}
但如果我想繪製10^x
,刻度就會消失:
或者當我改為 時log base y={11}
,刻度也會消失:
使用yminorticks=true
不行。有誰知道如何在這些情況下恢復記錄的小刻度?