summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pst-func/pst-func.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-func/pst-func.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pst-func/pst-func.tex18
1 files changed, 15 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 d508a247ee6..a10b9c025b1 100644
--- a/Master/texmf-dist/tex/generic/pst-func/pst-func.tex
+++ b/Master/texmf-dist/tex/generic/pst-func/pst-func.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-func.tex 355 2010-06-21 10:02:44Z herbert $
+%% $Id: pst-func.tex 391 2010-10-02 16:43:32Z herbert $
%%
%% This is file `pst-func.tex',
%%
@@ -30,8 +30,8 @@
% interface to the `xkeyval' package
\pst@addfams{pst-func}
%
-\def\fileversion{0.69}
-\def\filedate{2010/06/21}
+\def\fileversion{0.70}
+\def\filedate{2010/10/2}
\message{`PST-func' v\fileversion, \filedate\space (hv)}
%
\pstheader{pst-func.pro}
@@ -768,6 +768,18 @@
\ignorespaces%
}
%
+\define@key[psset]{pst-func}{pd}[0.22]{\pst@checknum{#1}\psk@probability }
+\define@key[psset]{pst-func}{R2}[0.11]{\pst@checknum{#1}\psk@portfolio }
+\psset[pst-func]{pd=0.22,R2=0.11}
+%
+\def\psVasicek{\pst@object{psVasicek}}
+\def\psVasicek@i#1#2{%
+ \addbefore@par{plotpoints=500}%
+ \begin@OpenObj
+ \psplot{#1}{#2}[/pd \psk@probability\space def /R2 \psk@portfolio\space def ]{x tx@FuncDict begin vasicek end}
+ \end@OpenObj%
+ \ignorespaces%
+}
\define@boolkey[psset]{pst-func}[Pst@]{Gini}[true]{}
\psset[pst-func]{Gini=false}
%