I'm trying to plot some data where the X axis is logarithmic. The data runs from ~30 microseconds up to 10 milliseconds. It looks much cleaner to have the x-ticks looking like
{0.1 ms, 1 ms, 10 ms}
than
{10^-4 s, 10^-3 s, 10^-2 s}.
In other words, I would like my tick labels to be presented in fixed point (i.e., not as exponentials), and scaled (multiplied by 1000).
To achieve this effect, I've tried using
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{semilogxaxis}
[xmin=1e-6, xmax=1e-3, domain=1e-6:1e-3,
scaled x ticks=real:1e-3,
xtick scale label code/.code={},
log ticks with fixed point]
\addplot {x};
\end{semilogxaxis}
\end{tikzpicture}
\end{document}
but logarithmic axes seem to ignore the "scaled x ticks" instructions. Any help would be much appreciated.
Thanks,


\documentclass{...}and ending with\end{document}– percusse Apr 09 '13 at 20:50