[pstricks] Errors: Dimension Too Large.

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat May 18 09:58:45 CEST 2013


Am 18.05.2013 09:48, schrieb Yonggang Hu:
>
> Suppose the average value of variable  is large, but its variance is
> small, something like the data as follows:

I suppose that you used the old data. You must load the _package_
filecontents, otherwise the files can't be overwritten:


\RequirePackage{filecontents}
\begin{filecontents*}{tu.total}
735355.385740741 18.1
735355.417511574 18.1
735355.472222222 18.1
735355.507916667 18.1
735355.550127315 18.1
735355.592465278 18.1
735355.663148148 18.1
735355.687500000 18.5
735355.726087963 19
735355.768576389 18.2
735355.802581019 17.6
735355.849108796 16.4
735355.888182870 16.1
735355.925266204 15.6
735355.959224537 15.3
735356.013287037 15
735356.057337963 16.2
735356.096666667 16.9
735356.155127315 17.2
735356.205567130 17.8
735356.248599537 17.2
735356.273680556 16.5
735356.303576389 16.2
735356.353807870 15.4
\end{filecontents*}
%
\documentclass[a4paper,12pt]{report}
\usepackage{pst-all}
\begin{document}
\readdata{\mydata}{tu.total}
%\psset{xunit=2cm, yunit=2cm}
\pstScalePoints(1,1){ 735355 sub }{ 15 sub }
\psgraph[Ox=735355,Dx=0.25,Oy=15,Dy=1,labels=y]{->}(0,0)(2,4){8cm}{8cm}
   \listplot[showpoints=true,linecolor=red,linewidth=1pt]{\mydata}
\endpsgraph
\end{document}

Herbert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2013-05-18 09:58:24.png
Type: image/png
Size: 7508 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20130518/f128ec21/attachment-0001.png>


More information about the PSTricks mailing list