Is it possible to use Format/Fixed and comma as separator in a tikz picture?
Please find below an example picture:
I used the code below and got the following error message: Package pgfkeys Error: I do not know the key '/pgf/number format/smooth' and I am going to ignore it.
\documentclass[a4paper, 12pt]{book}
\usepackage{fontspec}
\setmainfont{Cambria}
\setsansfont{Calibri}
\newfontfamily\Headerfamily{Calibri}
\usepackage[ngerman]{babel}
\usepackage{graphicx}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usepackage{mathtools}
\usepackage{siunitx}
\newcommand\arr{\tikz[baseline=-0.6ex]\draw[-latex] (0,0) -- + (7mm,0);}
\begin{document}
\begin{tikzpicture}
\begin{axis}[domain=0:45,
/pgf/number format=use comma,
/pgf/number format/fixed,
samples=180,
grid=major,smooth,
xmin=0,
xmax=45,
ymin=-0.1,
ymax=0.1,
xlabel={\si{\celsius} \arr},
ylabel={\si{\radian} \arr},
legend pos=north west]
\legend{\emph{Drift}}
\addplot [color=black,thick]
{(0.000001*x^3+
(-0.000035*x^2+
(-0.000315*x};
\end{axis}
\end{tikzpicture}
\end{document}
/pgf/number format=use comma,/pgf/number format/fixed
.