From ea7bf6d58ff9206527e6c128a6c0fcba6fdef559 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 24 Jan 2009 16:36:04 +0000 Subject: pst-func 0.59 (23jan09) git-svn-id: svn://tug.org/texlive/trunk@11959 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/generic/pst-func/pst-func.tex | 34 ++++++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/generic/pst-func') 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 % -- cgit v1.2.3