PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : \psgraph-Umgebung mit kleinen Einheiten



Spindoctor
05-03-2009, 20:54
Hallo!

Ich möchte ein Histogramm (siehe mehr dazu in diesem Thread (http://www.mrunix.de/forums/showthread.php?p=288820)) in der \psgraph Umgebung erstellen.

Diesmal handelt es sich statt um sehr große, um sehr kleine Werte.

Mein Problem: \psgraph will ab ca. 0.06 nicht mehr.

Siehe das hier:

%
% kleiner psgraph
%
\documentclass{scrartcl}
\usepackage{pstricks}
\usepackage{pstricks-add}

\begin{document}
\begin{psgraph}[Dx=0.001,Dy=0.001](0,0)(1,0.06){10 cm}{10 cm}
\end{psgraph}
\end{document}
Gibt

! Arithmetic overflow.Ab ca. 0.07 geht es.

1. Woran liegt das?

2. Was kann man dagegen tun?

P.S.:
http://www.tug.org/pipermail/pstricks/2004/001541.html
aber wo das problem herkommt und ob mans in der psgraph-Umgebung lösen kann weiß ich noch nicht...

voss
05-03-2009, 21:09
Ich möchte ein Histogramm (siehe mehr dazu in diesem Thread (http://www.mrunix.de/forums/showthread.php?p=288820)) in der \psgraph Umgebung erstellen.

Diesmal handelt es sich statt um sehr große, um sehr kleine Werte.

Mein Problem: \psgraph will ab ca. 0.06 nicht mehr.

Gibt
Ab ca. 0.07 geht es.

1. Woran liegt das?

2. Was kann man dagegen tun?

P.S.:
http://www.tug.org/pipermail/pstricks/2004/001541.html

habe kein Problem mit deinem Beispiel


\listfiles
\documentclass{scrartcl}
\usepackage{pstricks}
\usepackage{pstricks-add}

\begin{document}

\begin{psgraph}[Dx=0.001,Dy=0.001,dx=1cm,dy=1cm](0,0)(1,0.060){10cm}{10cm}
\end{psgraph}

\end{document}



*File List*
scrartcl.cls 2009/01/24 v3.02b KOMA-Script document class (article)
scrkbase.sty 2009/01/24 v3.02b KOMA-Script package (KOMA-Script-dependent ba
sics and keyval usage)
scrbase.sty 2009/01/24 v3.02b KOMA-Script package (KOMA-Script-independent
basics and keyval usage)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty 2008/07/09 v3.00 KOMA-Script package (loading files)
tocbasic.sty 2009/01/20 v3.02a(package)
scrsize11pt.clo 2009/01/24 v3.02b KOMA-Script font size class option (11pt)
typearea.sty 2009/01/24 v3.02b KOMA-Script package (type area)
pstricks.sty 2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2009/01/25 v1.27 `PSTricks' (tvz,hv)
pstricks.pro 2009/01/30 v. 1.06, PostScript prologue file (hv)
pst-dots.pro 2006/12/19 v. 2.00, PostScript prologue file (hv)
pst-algparser.pro 2008/01/01 v. 0.01, PostScript prologue file (hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks-add.sty 2007/09/03 v. 0.12 package wrapper for pstricks-add.tex (hv
)
pstricks-add.tex 2009/03/03 v3.18 `PSTricks-add' (hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
pstricks-add.pro 2008/01/01 v. 0.20, PostScript prologue file (hv)
pstricks-add.cfg 2005/01/10 v0.1 addtional user stuff (hv)
***********

http://perce.de/temp/xx.png

Herbert

Spindoctor
05-03-2009, 21:31
interessant.

bei mir gibt das jenes File das Du gepostet hast einen Fehler.

Hier mein log (Fehlermeldung ist rot markiert):

This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded format=latex 2009.3.4) 5 MAR 2009 21:41
entering extended mode
**kleiner*psgraph.tex
("kleiner psgraph.tex"
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
("D:\Programme\MiKTeX 2.7\tex\latex\koma-script\scrartcl.cls"
Document Class: scrartcl 2009/01/24 v3.02b KOMA-Script document class (article)

("D:\Programme\MiKTeX 2.7\tex\latex\koma-script\scrkbase.sty"
Package: scrkbase 2009/01/24 v3.02b KOMA-Script package (KOMA-Script-dependent
basics and keyval usage)

("D:\Programme\MiKTeX 2.7\tex\latex\koma-script\scrbase.sty"
Package: scrbase 2009/01/24 v3.02b KOMA-Script package (KOMA-Script-independent
basics and keyval usage)

("D:\Programme\MiKTeX 2.7\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
("D:\Programme\MiKTeX 2.7\tex\latex\koma-script\scrlfile.sty"
Package: scrlfile 2008/07/09 v3.00 KOMA-Script package (loading files)

Package scrlfile, 2008/07/09 v3.00 KOMA-Script package (loading files)
Copyright (C) Markus Kohm

))) ("D:\Programme\MiKTeX 2.7\tex\latex\koma-script\tocbasic.sty"
Package: tocbasic 2009/01/20 v3.02a(package)
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 112.
Package tocbasic Info: omitting babel extension for `lof'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `lof' on input line 113.
Package tocbasic Info: omitting babel extension for `lot'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `lot' on input line 114.
Class scrartcl Info: File `scrsize11pt.clo' used instead of
(scrartcl) file `scrsize11.clo' to setup font sizes on input line 116
0.

("D:\Programme\MiKTeX 2.7\tex\latex\koma-script\scrsize11pt.clo"
File: scrsize11pt.clo 2009/01/24 v3.02b KOMA-Script font size class option (11p
t)
)
("D:\Programme\MiKTeX 2.7\tex\latex\koma-script\typearea.sty"
Package: typearea 2009/01/24 v3.02b KOMA-Script package (type area)

Package typearea, 2009/01/24 v3.02b KOMA-Script package (type area)
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-

\ta@bcor=\skip41
\ta@div=\count79
\ta@hblk=\skip42
\ta@vblk=\skip43
\ta@temp=\skip44
Package typearea Info: These are the values describing the layout:
(typearea) DIV = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth = 597.50793pt
(typearea) \textwidth = 418.25555pt
(typearea) DIV departure = -6%
(typearea) \evensidemargin = 17.3562pt
(typearea) \oddsidemargin = 17.3562pt
(typearea) \paperheight = 845.04694pt
(typearea) \textheight = 595.80026pt
(typearea) \topmargin = -25.16531pt
(typearea) \headheight = 17.0pt
(typearea) \headsep = 20.40001pt
(typearea) \topskip = 11.0pt
(typearea) \footskip = 47.60002pt
(typearea) \baselineskip = 13.6pt
(typearea) on input line 1042.
)
\c@part=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\c@pti@nb@sid@b@x=\box26
\c@figure=\count86
\c@table=\count87
\bibindent=\dimen102
) ("D:\Programme\MiKTeX 2.7\tex\latex\pstricks\pstricks.sty"
Package: pstricks 2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)

("D:\Programme\MiKTeX 2.7\tex\generic\pstricks\pstricks.tex"
`PSTricks' v1.27 <2009/01/25> (tvz)
\pst@dima=\dimen103
\pst@dimb=\dimen104
\pst@dimc=\dimen105
\pst@dimd=\dimen106
\pst@dimg=\dimen107
\pst@dimh=\dimen108
\pst@hbox=\box27
\pst@boxg=\box28
\pst@cnta=\count88
\pst@cntb=\count89
\pst@cntc=\count90
\pst@cntd=\count91
\pst@cntg=\count92
\pst@cnth=\count93
\pst@toks=\toks15
("D:\Programme\MiKTeX 2.7\tex\generic\pstricks\pstricks.con")
\psunit=\dimen109
\psxunit=\dimen110
\psyunit=\dimen111
\pslinewidth=\dimen112
\pst@customdefs=\toks16
\pslinearc=\dimen113
\everypsbox=\toks17
\psframesep=\dimen114
\pslabelsep=\dimen115
\pst@shift=\dimen116
\theoverlaybox=\box29
)
File: pstricks.tex 2009/01/25 v1.27 `PSTricks' (tvz,hv)

("D:\Programme\MiKTeX 2.7\tex\latex\xcolor\xcolor.sty"
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

("D:\Programme\MiKTeX 2.7\tex\latex\00miktex\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.

("D:\Programme\MiKTeX 2.7\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.
))
("D:\Programme\MiKTeX 2.7\tex\latex\pstricks-add\pstricks-add.sty"
Package: pstricks-add 2007/09/03 v. 0.11 package wrapper for pstricks-add.tex (
hv)

("D:\Programme\MiKTeX 2.7\tex\generic\pstricks-add\pstricks-add.tex"
("D:\Programme\MiKTeX 2.7\tex\generic\pstricks\pst-plot.tex"
("D:\Programme\MiKTeX 2.7\tex\generic\multido\multido.tex"
v1.41, 2004/05/18 <tvz>
\multido@count=\count94
\multidocount=\count95
\multido@stuff=\toks18
) v1.03, 2008/11/24)
("D:\Programme\MiKTeX 2.7\tex\generic\pstricks\pst-node.tex"
v1.01, 2008/11/26
\psrow=\count96
\pscol=\count97
\psmatrixcnt=\count98
\psrowsep=\skip47
\pscolsep=\skip48
) ("D:\Programme\MiKTeX 2.7\tex\generic\pst-3d\pst-3d.tex"
("D:\Programme\MiKTeX 2.7\tex\generic\xkeyval\pst-xkey.tex"
File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)

("D:\Programme\MiKTeX 2.7\tex\latex\xkeyval\xkeyval.sty"
Package: xkeyval 2008/08/13 v2.6a package option processing (HA)

("D:\Programme\MiKTeX 2.7\tex\generic\xkeyval\xkeyval.tex"
\XKV@toks=\toks19
\XKV@tempa@toks=\toks20
\XKV@depth=\count99
File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
)))
`PST-3d' v1.00, 2005/09/03 (tvz)) `pstricks-add' v3.17, 2009/01/21 (dr,hv)
\pst@dimm=\dimen117
\pst@dimn=\dimen118
\pst@dimo=\dimen119
\pst@dimp=\dimen120
\pst@cntm=\count100
\pst@cntn=\count101
\pst@cnto=\count102
\pst@cntp=\count103
\@zero=\count104
\pstRadUnit=\dimen121
\pstRadUnitInv=\dimen122
\pshooklength=\dimen123
\pshookwidth=\dimen124
\@digitcounter=\count105
\psk@subticksize=\dimen125
\pst@xticksizeA=\dimen126
\pst@xticksizeB=\dimen127
\pst@xticksizeC=\dimen128
\pst@yticksizeA=\dimen129
\pst@yticksizeB=\dimen130
\pst@yticksizeC=\dimen131
\psk@llx=\dimen132
\psk@lly=\dimen133
\psk@urx=\dimen134
\psk@ury=\dimen135
\pst@xunit=\dimen136
\pst@yunit=\dimen137
\linecnt=\count106
\chart@ColorIndex=\dimen138
\chart@ColorStep=\dimen139
\pst@chartHeight=\dimen140
\pst@chartStackDepth=\dimen141
\pst@chartStackWidth=\dimen142
\chart@Toggle=\count107
)
File: pstricks-add.tex 2009/01/21 v3.17 `PSTricks-add' (hv)
)
("kleiner psgraph.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.

! Arithmetic overflow.
<recently read=""> \pst@cntg

l.8 ...01,dx=1cm,dy=1cm](0,0)(1,0.060){10cm}{10cm}

I can't carry out that multiplication or division,
since the result is out of range.</recently>

LaTeX Font Info: External font `cmex10' loaded for size
(Font) <10.95> on input line 8.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 8.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 8.
[1

] ("kleiner psgraph.aux")

*File List*
scrartcl.cls 2009/01/24 v3.02b KOMA-Script document class (article)
scrkbase.sty 2009/01/24 v3.02b KOMA-Script package (KOMA-Script-dependent ba
sics and keyval usage)
scrbase.sty 2009/01/24 v3.02b KOMA-Script package (KOMA-Script-independent
basics and keyval usage)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty 2008/07/09 v3.00 KOMA-Script package (loading files)
tocbasic.sty 2009/01/20 v3.02a(package)
scrsize11pt.clo 2009/01/24 v3.02b KOMA-Script font size class option (11pt)
typearea.sty 2009/01/24 v3.02b KOMA-Script package (type area)
pstricks.sty 2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2009/01/25 v1.27 `PSTricks' (tvz,hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks-add.sty 2007/09/03 v. 0.11 package wrapper for pstricks-add.tex (hv
)
pstricks-add.tex 2009/01/21 v3.17 `PSTricks-add' (hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
***********

)
Here is how much of TeX's memory you used:
4016 strings out of 95305
53330 string characters out of 1183208
201800 words of memory out of 1500000
7232 multiletter control sequences out of 110000
6379 words of font info for 23 fonts, out of 3000000 for 5000
14 hyphenation exceptions out of 8191
35i,7n,51p,309b,321s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on "kleiner psgraph.dvi" (1 page, 6892 bytes).
</tvz></v3.8l>

Spindoctor
05-03-2009, 21:41
kann es daran liegen, dass meine pstricks-add.tex v3.17 ist und dein v3.18?
wo bekomme ich die neue? (miktex findet sie nicht...)

\edit:
das problem wird tatsächlich durch das neue paket gelöst (google ist mein freund ;))

aber wieso wird es nicht von miktex gefunden...?

localghost
05-03-2009, 22:18
[…] aber wieso wird es nicht von miktex gefunden...?
Ist doch ganz einfach. Schau dir das Datum der aktuellsten Version (03.03.2009) und den Status der MiKTeX-Server (28.02.2009) an. Es wurde halt noch nicht in die MiKTeX-Distribution integriert.


MfG
Thorsten¹

Spindoctor
05-03-2009, 22:25
ah, ok, verstehe...
hab mich noch nicht damit beschäftigt und dachte das wird laufend upgedated...