[pstricks] Arithmetic overflow in pstricks-add

Christoph Bersch usenet at bersch.net
Tue Jun 27 13:11:48 CEST 2006


Hi,

when compiling the following document, I get the error

! Arithmetic overflow.
<recently read> \pst at cntg

\listfiles
\documentclass{article}
\usepackage{filecontents}
\usepackage{pstricks-add}

\begin{document}
\begin{filecontents}{fft.dat}
0.000000 27161.972486
0.049991 0.000696
\end{filecontents}
\readdata{\data}{fft.dat}
\pstScalePoints(1,1){}{log}
\begin{psgraph}[arrows=->,Dx=0.01,ylogBase=10,Oy=-5](0,-5)(0,-5)(0.05,4.5){12cm}{6cm}
  \listplot[linecolor=red]{\data}
\end{psgraph}
\end{document}

The problem disappears, when changing the last coordinate of psgraph to
(0.07,4.5). What could be the problem?

\listfiles gives me

 *File List*
 article.cls    2001/04/21 v1.4e Standard LaTeX document class
  size10.clo    2001/04/21 v1.4e Standard LaTeX file (size option)
filecontents.sty    2006/03/11 v1.1a Create an external file from within
a LaTe
X document
pstricks-add.sty    2005/03/03 package wrapper for pstricks-add.tex (hv)
pstricks.sty    2005/10/07 v0.25 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2006/02/06 v1.14a `PSTricks' (tvz)
  xcolor.sty    2004/07/04 v2.00 LaTeX color extensions (UK)
   color.cfg    2001/08/31 v1.1 color configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks-add.tex    2006/06/17 v2.75 `PSTricks-add' (hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2005/11/25 v2.5e package option processing (HA)
 xkeyval.tex    2005/11/25 v2.5e key=value parser (HA)
pstricks-add.pro
 ***********


Thanks for your help
Christoph




More information about the PSTricks mailing list