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
    
You should probably report this bug to the maintainer of PGFPlots, Christian Feuersänger. –  Jake Nov 24 '13 at 19:19
1  
This is done, bug reported. –  Laurent Nov 25 '13 at 14:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.