How can I use symbolic x coords={} with commas as decimal separators?
For example, I need to use symbolic x coords={0,1.5,1.3}, which gives full stops as decimal separators. Using use comma does not have an effect (logically, so I have nothing against that).
Minimal working example:
\documentclass[border=2pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
symbolic x coords={0,1.5,1.3},
xtick=data,
/pgf/number format/.cd,
use comma,
]
\addplot coordinates {
(0, 1)
(1.5, 2)
(1.3, 1)
};
\end{axis}
\end{tikzpicture}
\end{document}

symbolic x coords={0,{1,5},{1,3}}– celtschk Apr 15 '12 at 12:08use commaoption works fine for me withoutsymbolic x coords. – Thorsten Donig Apr 15 '12 at 12:09use commadespite no options following. Maybe it works if you remove that? – celtschk Apr 15 '12 at 12:12use commadoes not have an effect. – Harold Cavendish Apr 15 '12 at 12:17