[pstricks] Plotting Daily Precipitation Total

Rich Shepard rshepard at appl-ecosys.com
Thu Jan 26 01:09:27 CET 2012


On Wed, 25 Jan 2012, Rich Shepard wrote:

>  I need to plot daily precipitation totals over several years.

   I'm stuck in understanding the LaTeX error message when I try to run this
file:

\documentclass[12pt]{article}
\usepackage[landscape,lmargin=0.5in]{geometry}
\setlength\paperwidth{10.0in}
\setlength\paperheight{3.5in}
\usepackage{pstricks,pst-plot}
\begin{document}

   \psset{xunit=0.1mm,yunit=0.05mm}
   \begin{pspicture}(-0.5, -0.5)(1050,5)
     \fileplot[plotpoints=10,showpoints=true,linewidth=1px]%
       {all-records.dat}
     \psaxes[dx=200,Dx=200,Dy=100,tickstyle=bottom]{-}(1300,500)
   \end{pspicture}

\end{document}

   The log file is attached; I can send the data file if desired.

   I suspect the issue is with the end points of pspicture, but I don't
understand the failure cause.

TIA,

Rich
-------------- next part --------------
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011TeX Live 2011/Slackware (SBo)) (format=latex 2011.9.6)  25 JAN 2012 15:31
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**all-rain.tex
(./all-rain.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
 icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
 lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size12.clo
File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2010/09/12 v5.6 Page Geometry

(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV at toks@=\toks14
)
(/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is not detected.
)
(/usr/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty
Package: ifvtex 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
Package ifvtex Info: VTeX not detected.
)
(/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
\Gm at cnth=\count87
\Gm at cntv=\count88
\c at Gm@tempcnt=\count89
\Gm at bindingoffset=\dimen103
\Gm at wd@mp=\dimen104
\Gm at odd@mp=\dimen105
\Gm at even@mp=\dimen106
\Gm at layoutwidth=\dimen107
\Gm at layoutheight=\dimen108
\Gm at layouthoffset=\dimen109
\Gm at layoutvoffset=\dimen110
\Gm at dimlist=\toks15
)
(/usr/share/texmf-dist/tex/latex/pstricks/pstricks.sty
Package: pstricks 2011/04/23 v0.50 LaTeX wrapper for `PSTricks' (RN,HV)

(/usr/share/texmf/tex/latex/pst-dbicons/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/share/texmf-dist/tex/generic/pstricks/pstricks.tex
(/usr/share/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)

(/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
Package: xkeyval 2008/08/13 v2.6a package option processing (HA)

(/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex
\XKV at toks=\toks16
\XKV at tempa@toks=\toks17
\XKV at depth=\count90
File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
)))
(/usr/share/texmf/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv)
\pstFP at xs=\count91
\pstFP at xia=\count92
\pstFP at xib=\count93
\pstFP at xfa=\count94
\pstFP at xfb=\count95
\pstFP at rega=\count96
\pstFP at regb=\count97
\pstFP at regs=\count98
\pstFP at times=\count99
)
\psLoopIndex=\count100

`PSTricks' v2.20  <2011/04/23> (tvz)
\pst at dima=\dimen111
\pst at dimb=\dimen112
\pst at dimc=\dimen113
\pst at dimd=\dimen114
\pst at dimg=\dimen115
\pst at dimh=\dimen116
\pst at dimm=\dimen117
\pst at dimn=\dimen118
\pst at dimo=\dimen119
\pst at dimp=\dimen120
\pst at hbox=\box26
\pst at ibox=\box27
\pst at boxg=\box28
\pst at cnta=\count101
\pst at cntb=\count102
\pst at cntc=\count103
\pst at cntd=\count104
\pst at cntg=\count105
\pst at cnth=\count106
\pst at cntm=\count107
\pst at cntn=\count108
\pst at cnto=\count109
\pst at cntp=\count110
\@zero=\count111
\pst at toks=\toks18
(/usr/share/texmf-dist/tex/generic/pstricks/pstricks.con)
\psunit=\dimen121
\psxunit=\dimen122
\psyunit=\dimen123
\pst at C@@rType=\count112
\pslinewidth=\dimen124
\psk at startLW=\dimen125
\psk at endLW=\dimen126
\pst at customdefs=\toks19
\pslinearc=\dimen127
\pst at symbolStep=\dimen128
\pst at symbolWidth=\dimen129
\everypsbox=\toks20
\psframesep=\dimen130
\pslabelsep=\dimen131
\pst at shift=\dimen132
\theoverlaybox=\box29
)
File: pstricks.tex 2011/04/23 v2.20 `PSTricks' (tvz,hv)

(/usr/share/texmf/tex/generic/pstricks/pst-fp.tex)
File: pst-fp.tex 2011/04/23 v2.20 `PST-fp' (hv)
File: pstricks.pro 2010/04/24 v. 1.07, PostScript prologue file (hv)
File: pst-algparser.pro 2008/01/01 v. 0.01, PostScript prologue file (hv)
File: pst-tools.pro 2011/04/23 v. 0.01, PostScript prologue file (hv)
File: pst-dots.pro 2006/12/19 v. 2.00, PostScript prologue file (hv)

(/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

(/usr/share/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: dvips.def on input line 225.

(/usr/share/texmf-dist/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
Package xcolor Info: Model `RGB' extended on input line 1353.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
))
(/usr/share/texmf/tex/latex/pst-plot/pst-plot.sty
Package: pst-plot 2011/06/05 v1.00 LaTeX wrapper for `pst-plot' (HV)

(/usr/share/texmf-dist/tex/latex/xkeyval/pst-xkey.sty
Package: pst-xkey 2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA)
)
(/usr/share/texmf-dist/tex/latex/multido/multido.sty
Package: multido 2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN)


(/usr/share/texmf-dist/tex/generic/multido/multido.tex
 v1.42, 2010/05/14 <tvz>
\multido at count=\count113
\multidocount=\count114
\multido at stuff=\toks21
)
File: multido.tex 2010/05/14 v1.42 `multido' (tvz,hv)
)
Package: pst-plot 2011/04/13 package wrapper for pst-plot.tex (hv)
 (/usr/share/texmf/tex/generic/pst-plot/pst-plot.tex
 v1.29, 2011/04/13 (tvz,hv)
\pstRadUnit=\dimen133
\pstRadUnitInv=\dimen134
\pst at linecnt=\count115
\psk at subticksize=\dimen135
\pst at xticksizeA=\dimen136
\pst at xticksizeB=\dimen137
\pst at xticksizeC=\dimen138
\pst at yticksizeA=\dimen139
\pst at yticksizeB=\dimen140
\pst at yticksizeC=\dimen141
\@digitcounter=\count116
\psk at llx=\dimen142
\psk at lly=\dimen143
\psk at urx=\dimen144
\psk at ury=\dimen145
\pst at xunit=\dimen146
\pst at yunit=\dimen147
)
File: pst-plot.tex 2011/04/13 1.29 `pst-plot' (tvz,hv)
) (./all-rain.aux)
\openout1 = `all-rain.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.

*geometry* driver: auto-detecting
*geometry* detected driver: dvips
*geometry* verbose mode - [ preamble ] result:
* driver: dvips
* paper: <default>
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes: landscape 
* h-part:(L,W,R)=(36.135pt, 639.58829pt, 119.2467pt)
* v-part:(T,H,B)=(73.71613pt, 430.00462pt, 110.57425pt)
* \paperwidth=722.7pt
* \paperheight=252.94499pt
* \textwidth=639.58829pt
* \textheight=430.00462pt
* \oddsidemargin=-36.135pt
* \evensidemargin=-36.135pt
* \topmargin=-35.55386pt
* \headheight=12.0pt
* \headsep=25.0pt
* \topskip=12.0pt
* \footskip=30.0pt
* \marginparwidth=44.0pt
* \marginparsep=10.0pt
* \columnsep=10.0pt
* \skip\footins=10.8pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidefalse
* \@mparswitchfalse
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)

)
Runaway argument?
\addto at pscode { \tx at PreparePoints \pst at number \psxunit \pst at number \psyunit \ET
C.
! File ended while scanning use of \pst@@@altreadfile.
<inserted text> 
                \par 
<*> all-rain.tex
                
? x
 
Here is how much of TeX's memory you used:
 3483 strings out of 493634
 49728 string characters out of 3148827
 142588 words of memory out of 3000000
 6792 multiletter control sequences out of 15000+200000
 3938 words of font info for 15 fonts, out of 3000000 for 9000
 831 hyphenation exceptions out of 8191
 37i,0n,51p,232b,207s stack positions out of 5000i,500n,10000p,200000b,50000s
No pages of output.


More information about the PSTricks mailing list