How can I force pgfplots to draw my axis ticks labels consistently? I mean instead of 0 a 0.0, instead of 1 a 1.0 in the below image.
EDIT: Code
\documentclass[a4paper,10pt]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepackage{filecontents}
\usepackage{siunitx}
\pgfplotsset{
compat=1.7,
every axis/.append style={
line width=1.25pt,
tick style={line width=1.25pt, color=black, line cap=round}
}
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
enlarge x limits=0.05,
enlarge y limits=0.05,
try min ticks=4,
max space between ticks=50pt,
y tick label style={
/pgf/number format/.cd,
fixed,
fixed zerofill,
precision=1
},
x tick label style={
/pgf/number format/.cd,
fixed,
fixed zerofill,
precision=2
}
]
\addplot[red] table[x index=1,y index=7] {dataA.dat};
\end{axis}
\end{tikzpicture}
\end{document}
I can't attach the data file, so here's a link.

/tikz/.cd(PGFPlots was still trying to apply normaltikzoptions using the/pgf/number formatdirectory. I've edited my answer. – Jake Feb 01 '13 at 16:40,afterprecision=2. – Feb 01 '13 at 23:51/tikz/.cd? The manual (v1.9 §4.4/p.74) states something else... – strpeter Jan 09 '14 at 08:48/tikz/.cdif you later want to apply other options to the labels that don't belong to the/pgf/number formatdirectory (e.g. addingx tick label style=redlater on). That's not the case in this code example, but resetting the directory to/tikzanyway can't hurt. – Jake Jan 09 '14 at 09:07loglogaxisaxis environments? – Adriaan May 20 '15 at 08:13