Is there an easy way to have different tick length for the X and Y axis? While a lot of the tick formating commands have x and y versions to effect only the corresponding axis, I can't find an axis specific version of major tick length. In particular xaxis tickstyle={major tick length=2pt} yields unknown key /tikz/major ticklength.
So far the only solution I can think of is two scale only axis, one for the X ticks and one for the y ticks, however copying all axis formating (i.e. min/max) up to date between axis is cumbersome. If this is the only option is ther an easy way to inherit all options from another axis?
\documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ tick align=outside, xtick={1,6}, xticklabels={a,b}, ytick={0.5,0.6,0.7,0.8,0.9,1.0}, major tick length=1ex%, % x major tick length=0ex ] \addplot plot coordinates { (1,0.5) (6,1) }; \end{axis} \end{tikzpicture} \end{document} 