I try to make one axis exercices for students, thus I try to customize pgflots but I don't understand what append in this examples :
\documentclass{article}
\usepackage{tikz,pgfplots}
\pgfplotsset{%
compat=newest, %footnotesize
tick label style={font=\footnotesize},
label style={font=\small},
legend style={font=\small},
axis x line = center,
axis y line = center,
every axis/.style={pin distance=1ex}
%xlabel near ticks
%
} %%%% fin pgfplotsset
\begin{document}
\begin{tikzpicture}
\begin{axis}[%
axis x line=center,
axis y line=none,
xmin=-3,xmax=3,
]
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[%
axis x line=center,
axis y line=none,ymin=0,ymax=1,
xmin=-3,xmax=3,
]
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[%
axis x line=center,
axis y line=none,
xmin=-3,xmax=3,
xticklabels={8,3,,5,,7},
]
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[%
axis x line=center,
axis y line=none,
xmin=-3,xmax=3,
xticklabels={8,3,,5,,7},
extra x ticks={.75},
]
\end{axis}
\end{tikzpicture}
\end{document}
In the first : xmin, xmax doesn't work ? In the second : with it works in the second ? In the third : where is the first 8 ? In the forth : where is extra tick ?
Once the initial 8 from xlabels appears on the place of extra label !
I use texlive with both last versions of pgf-tikz and pgfplots.