How can I display tick marks on only one axis of a pgfplots graph?
Here is some simple code to work with:
\documentclass{article}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}
[
xticklabels={,,},
xlabel=${x}$,
ylabel=${f_{h}\left(x\right)}$,
width=190 pt
]
\addplot+[mark=none, smooth, black] (\x, {2/(1+e^(-\x))-1});
\end{axis}
\end{tikzpicture}
\end{document}
How can the tick marks on, say, the x axis be removed while retaining the tick marks on the y axis?