Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use pgfplots to generate boxplots, however with some small data sets as the following, I get an error message.

 speed
    2
    3
    1
    2
    2
    11

Here is the error message :

Sorry, an internal routine of the floating point unit got an ill-floating point number `'. The unreadable part was near ''

To avoid this problem, I need to add white noise to my data set when generating it, but it is only a dirty workaroud. Do you know how to avoid the pgfplots error message ?

You can for example try the following code :

\documentclass{article}
\usepackage{pgfplots,filecontents}
\pgfplotsset{compat=1.9}
\usepgfplotslibrary{statistics}

\begin{filecontents}{test.dat}
speed
2
3
1
2
2
11
\end{filecontents}


\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot[boxplot] table[y index=0]{test.dat};
\end{axis}
\end{tikzpicture}
\end{document}
share|improve this question

closed as off-topic by Joseph Wright Feb 7 at 21:56

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

    
You should probably report this bug to the maintainer of PGFPlots, Christian Feuersänger. –  Jake Nov 24 '13 at 19:19
2  
This is done, bug reported. –  Laurent Dudok de Wit Nov 25 '13 at 14:56
    
I'm voting to close this question as off-topic because it is a bug report. –  Joseph Wright Feb 7 at 21:56
    
Does anyone know if this bug has been fixed? I can't find a bug report on it at http://sourceforge.net/p/pgfplots/bugs/ –  ThomasH Aug 5 at 17:02