[pstricks] Dimension too large?
David Arnold
dwarnold45 at suddenlink.net
Thu Jun 25 01:13:26 CEST 2009
All,
This:
\documentclass{article}
\usepackage{amsmath}
\usepackage{pst-bar}
\usepackage{pstricks-add}
\usepackage{filecontents}
\begin{document}
\begin{filecontents*}{HumboldtPopulation.csv}
7322,26672,78142,16194
\end{filecontents*}
\begin{center}
\psset{xunit=0.4in,yunit=0.000025in}
\begin{pspicture}(-2,0)(5,80000)
\psframe[fillstyle=solid,fillcolor=black!10,linestyle=solid](0,0)
(5,80000)
\psaxes[yticksize=0 5,ticks=y,labels=y,Dy=10000](0,0)(0,0)(5,80000)
\readpsbardata[header=false]{\data}{HumboldtPopulation.csv}
\psbarchart[barstyle=blue]{\data}
\rput{90}(-1.25,40000){Humboldt Population}
\end{pspicture}
\end{center}
\end{document}
Produces this error:
! Dimension too large.
<to be read again>
=
l.17 \readpsbardata
[header=false]{\data}{HumboldtPopulation.csv}
?
Anyone know what this means? Workaround?
David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20090624/c2d20451/attachment.html>
More information about the PSTricks
mailing list