[pstricks] Parallelogram in trees

Vinay Kanetkar vkanetka at uoguelph.ca
Wed May 27 18:12:28 CEST 2009


Hi Michel:

Wow! It worked perfectly... Thanks. I remember seeing this but I did not apply it. 

Thanks.

Vinay
----- Original Message -----
From: "Michel Voßkuhle" <m.vosskuhle at uni-muenster.de>
To: "Graphics with PSTricks" <pstricks at tug.org>
Sent: Wednesday, May 27, 2009 11:59:27 AM GMT -05:00 US/Canada Eastern
Subject: Re: [pstricks] Parallelogram in trees

Dear Vinay,

I encountered the same Problem a couple of days ago. Herbert Voß
answered the following:

> I suppose it is my mistake ..
> go into pstricks-add.tex and search  for \pstScalePoints
> and delete the \iffalse ... \fi around this macro. It's
> at lines 2391 ...

(see also http://tug.org/mailman/htdig/pstricks/2009/006764.html)

It helped me and now your code compiles well on my machine.

I hope I could help.

Sincerely,

Michel Voßkuhle


Vinay Kanetkar wrote:
> Hi List:
> 
> I updated my pstricks and pstrick-add... and something did not get updated properly...
> 
> here is my input...
> 
> =====
> \listfiles
> 
> \documentclass{article}
> 
> \usepackage{pstricks}
> \usepackage{pstricks-add}
> \begin{document}
> 
> \psset{linewidth=1pt,plotstyle=line,mathLabel=false,algebraic=true} 
> \psset{llx=-0.5cm,lly=-1cm, xAxisLabel=Bet Amount,yAxisLabel=Next Bet Amount,xAxisLabelPos={4cm,-0.75cm},
> yAxisLabelPos={-0.8cm,4cm}}
> \psgraph[labelFontSize=\tiny,arrows=->,Dx=5,Ox=0,dx=1,Dy=5,Oy=0,dy=1](0,0)(9,9){9cm}{7cm}%
> \psplot[linewidth=1pt,plotpoints=100,linecolor=red]{0.2}{7}{.2+.9*x+0.05*x^2}
> \psplot[linewidth=1pt,plotpoints=100,linecolor=blue]{0.2}{9}{.2+.9*x-0.05*x^2}
> \rput(6,2){{\tiny Risk Averse = $\frac{0.05}{0.9 - 0.05\times 10} = 0.125$}}
> \rput(2,5){{\tiny Risk Seeker = $\frac{-0.05}{0.9 + 0.05\times 10} = -0.036$}}
> 
> \endpsgraph
> 
> \end{document}
> ====  here is log file
> 
> This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) (format=latex 2008.12.6)  27 MAY 2009 09:56
>  Source specials enabled.
>  %&-line parsing enabled.
> **&latex Addict.tex
> (./Addict.tex
> LaTeX2e <2003/12/01>
> (c:/PCTeXv6/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
> (c:/PCTeXv6/texmf-dist/tex/latex/base/size10.clo
> File: size10.clo 2004/02/16 v1.4f 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
> )
> (c:/PCTeXv6/texmf-dist/tex/latex/pstricks/pstricks.sty
> Package: pstricks 2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)
> 
> (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pstricks.tex
> `PSTricks' v1.27  <2009/01/25> (tvz)
> \pst at dima=\dimen103
> \pst at dimb=\dimen104
> \pst at dimc=\dimen105
> \pst at dimd=\dimen106
> \pst at dimg=\dimen107
> \pst at dimh=\dimen108
> \pst at hbox=\box26
> \pst at boxg=\box27
> \pst at cnta=\count87
> \pst at cntb=\count88
> \pst at cntc=\count89
> \pst at cntd=\count90
> \pst at cntg=\count91
> \pst at cnth=\count92
> \pst at toks=\toks14
> (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pstricks.con)
> \psunit=\dimen109
> \psxunit=\dimen110
> \psyunit=\dimen111
> \pslinewidth=\dimen112
> \pst at customdefs=\toks15
> \pslinearc=\dimen113
> \everypsbox=\toks16
> \psframesep=\dimen114
> \pslabelsep=\dimen115
> \pst at shift=\dimen116
> \theoverlaybox=\box28
> )
> File: pstricks.tex 2009/01/25 v1.27 `PSTricks' (tvz,hv)
> 
> (c:/PCTeXv6/texmf-dist/tex/latex/xcolor/xcolor.sty
> Package: xcolor 2005/10/15 v2.06 LaTeX color extensions (UK)
> 
> (c:/PCTeXv6/texmf-pti/tex/latex/color.cfg)
> Package xcolor Info: Driver file: dvips.def on input line 200.
> 
> (c:/PCTeXv6/texmf-pti/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 1165.
> Package xcolor Info: Model `RGB' extended on input line 1183.
> Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1185.
> Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1186.
> Package xcolor Info: Model `Gray' substituted by `gray' on input line 1187.
> Package xcolor Info: Model `wave' substituted by `hsb' on input line 1188.
> ))
> (c:/PCTeXv6/texmf-dist/tex/latex/pstricks-add/pstricks-add.sty
> Package: pstricks-add 2009/03/17 v. 0.13 package wrapper for pstricks-add.tex (
> hv)
> 
> (c:/PCTeXv6/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
> (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pst-plot.tex
> (c:/PCTeXv6/texmf-dist/tex/generic/multido/multido.tex
>  v1.41, 2004/05/18 <tvz>
> \multido at count=\count93
> \multidocount=\count94
> \multido at stuff=\toks17
> )  v1.03, 2008/11/24)
> (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pst-node.tex  v1.01, 2008/11/26
> \psrow=\count95
> \pscol=\count96
> \psmatrixcnt=\count97
> \psrowsep=\skip43
> \pscolsep=\skip44
> )
> (c:/PCTeXv6/texmf-dist/tex/generic/pstricks/pst-3d.tex  v97, 1997/03/25)
> (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/pst-xkey.tex
> File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
> 
> (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkeyval.sty
> Package: xkeyval 2006/11/18 v2.5f package option processing (HA)
> 
> (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/xkeyval.tex
> \XKV at toks=\toks18
> \XKV at depth=\count98
> File: xkeyval.tex 2006/11/18 v2.5f key=value parser (HA)
> 
> (c:/PCTeXv6/texmf-dist/tex/latex/xkeyval/keyval.tex))))
> (c:/PCTeXv6/texmf-dist/tex/generic/pstricks-add/pst-fp.tex
> `pst-fp' v0.02, 2009/04/02 (hv)
> \pstFP at xs=\count99
> \pstFP at xia=\count100
> \pstFP at xib=\count101
> \pstFP at xfa=\count102
> \pstFP at xfb=\count103
> \pstFP at rega=\count104
> \pstFP at regb=\count105
> \pstFP at regs=\count106
> \pstFP at times=\count107
> )
> (c:/PCTeXv6/texmf-dist/tex/latex/pstricks/pst-math.tex
> `pst-math' v0.21 , (CJ,hv)) `pstricks-add' v3.32, 2009/05/11 (dr,hv)
> \pst at dimm=\dimen117
> \pst at dimn=\dimen118
> \pst at dimo=\dimen119
> \pst at dimp=\dimen120
> \pst at cntm=\count108
> \pst at cntn=\count109
> \pst at cnto=\count110
> \pst at cntp=\count111
> \@zero=\count112
> \pstRadUnit=\dimen121
> \pstRadUnitInv=\dimen122
> \pshooklength=\dimen123
> \pshookwidth=\dimen124
> \@digitcounter=\count113
> \psk at subticksize=\dimen125
> \pst at xticksizeA=\dimen126
> \pst at xticksizeB=\dimen127
> \pst at xticksizeC=\dimen128
> \pst at yticksizeA=\dimen129
> \pst at yticksizeB=\dimen130
> \pst at yticksizeC=\dimen131
> \psk at llx=\dimen132
> \psk at lly=\dimen133
> \psk at urx=\dimen134
> \psk at ury=\dimen135
> \pst at xunit=\dimen136
> \pst at yunit=\dimen137
> \linecnt=\count114
> \chart at ColorIndex=\dimen138
> \chart at ColorStep=\dimen139
> \pst at chartHeight=\dimen140
> \pst at chartStackDepth=\dimen141
> \pst at chartStackWidth=\dimen142
> \chart at Toggle=\count115
> 
> ! Undefined control sequence.
> \resetOptions ...\pst at linetype {0}\pstScalePoints 
>                                                   (1,1){}{}\psset [pstricks-...
> l.4152 \resetOptions
>                     
> ? e
>  
> Here is how much of TeX's memory you used:
>  3327 strings out of 95387
>  44561 string characters out of 1188834
>  1152012 words of memory out of 2500000
>  6318 multiletter control sequences out of 10000+50000
>  3640 words of font info for 14 fonts, out of 1000000 for 2000
>  14 hyphenation exceptions out of 8191
>  32i,0n,40p,262b,40s stack positions out of 5000i,500n,1000p,200000b,5000s
>  0 PDF objects out of 300000
>  0 named destinations out of 131072
>  1 words of extra memory for PDF output out of 65536
> No pages of output.
> 
_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks


More information about the PSTricks mailing list