summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pst-func
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-func')
-rw-r--r--Master/texmf-dist/tex/generic/pst-func/pst-func.tex34
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
%