
マイナー グリッドy = const
座標線がメジャー グリッド座標線の前にあることに気付きました。マイナー グリッドをメジャー グリッドの後ろに移動するにはどうすればよいですか?
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
%===============================================================================
\begin{document}
\noindent
\begin{tikzpicture}
]
\begin{axis}[
grid = both,
major grid style={line width=.3pt,draw=brown!75},
minor tick num = 5,
minor grid style = {line width=.1pt,draw=brown!10},
xtick={-6,...,6}, % This one works now
]
\addplot+[blue, no marks, domain={-6:6}] {x^2};
\end{axis}
\end{tikzpicture}
\end{document}