I want to import some data with parameters to parametrize some plots. After importing a table, I assign specific variables of the table to a placeholder by using \pgfplotstablegetelem. And it works fine. Until some values getting to big:
Apparently the command \pgfmathsetmacro doesn't like values bigger than 16383 - an error dimension too large appears. Is there a reason why? And is it possible to increase that threshold such that also numbers in the 50000-range are excepted?
\documentclass{standalone}
\usepackage{pgfplots,pgfplotstable}
\begin{document}
\begin{tikzpicture}[declare function={test(\tmp) = x/\tmp;}]
\begin{axis}[samples=100,domain=0:1]
\pgfmathsetmacro{\tmp}{16383}
% \pgfmathsetmacro{\tmp}{16384} % Error
\addplot (x,{test(\tmp)});
\end{axis}
\end{tikzpicture}
\end{document}
I've checked other dimensions too large postings here but haven't found a satisfying answer yet. Maybe you can help me. Thanks!