diff options
author | Karl Berry <karl@freefriends.org> | 2009-01-24 16:36:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-01-24 16:36:04 +0000 |
commit | ea7bf6d58ff9206527e6c128a6c0fcba6fdef559 (patch) | |
tree | 058f5e01309e26201a0fcfb39d64e85c6bcfd7c7 /Master/texmf-dist/tex/generic | |
parent | 89bd3c91a3106d658db88156e2006b8920c0e9cf (diff) |
pst-func 0.59 (23jan09)
git-svn-id: svn://tug.org/texlive/trunk@11959 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-func/pst-func.tex | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-func/pst-func.tex b/Master/texmf-dist/tex/generic/pst-func/pst-func.tex index 4f07a235ddd..c3bbc38e39a 100644 --- a/Master/texmf-dist/tex/generic/pst-func/pst-func.tex +++ b/Master/texmf-dist/tex/generic/pst-func/pst-func.tex @@ -29,8 +29,8 @@ % interface to the `xkeyval' package \pst@addfams{pst-func} -\def\fileversion{0.58} -\def\filedate{2008/12/08} +\def\fileversion{0.59} +\def\filedate{2009/01/23} \message{`PST-func' v\fileversion, \filedate\space (hv)} % \pstheader{pst-func.pro} @@ -335,7 +335,7 @@ Output Index get 46 eq { Output Index 44 put } if } for \fi - 0 0 moveto Output show grestore + \psk@xShift\space 0 moveto Output show grestore }% \end@SpecialObj% } @@ -838,6 +838,34 @@ \end@ClosedObj% } % +\def\psCplot{\def\pst@par{}\pst@object{psCplot}} +\def\psCplot@i#1#2#3#4{% start | end | complex variables | function + \pst@killglue + \begingroup + \use@par + \@nameuse{beginplot@\psplotstyle}% + \addto@pscode{% + \psplot@init + /x #1 def + /x1 #2 def + /dx x1 x sub \psk@plotpoints div def + #3 + /xy { +% x + tx@FuncDict begin + #4 aload pop \pst@number\psyunit mul exch \pst@number\psxunit mul exch + end + } def}% + \gdef\psplot@init{}% + \@pstfalse + \@nameuse{testqp@\psplotstyle}% + \if@pst + \psplot@ii + \else + \psplot@iii + \fi + \endgroup + \ignorespaces} % \catcode`\@=\PstAtCode\relax % |