diff options
author | Karl Berry <karl@freefriends.org> | 2010-01-04 23:11:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-01-04 23:11:17 +0000 |
commit | 8f1f9f3a91cb32dba7d54d3fda4f0f8831d153d4 (patch) | |
tree | a6874019ffe7e0f77eacdcc929fabd79f8e91a8d | |
parent | 7fb3ea723158a76babde0aab3cdba966693cfd10 (diff) |
pst-func 0.63 (4jan10)
git-svn-id: svn://tug.org/texlive/trunk@16597 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-func/Changes | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf | bin | 2865093 -> 2849265 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex | 19 | ||||
-rw-r--r-- | Master/texmf-dist/dvips/pst-func/pst-func.pro | 4 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/pst-func/Makefile | 1 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-func/pst-func.tex | 27 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pst-func/pst-func.sty | 4 |
7 files changed, 32 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-func/Changes b/Master/texmf-dist/doc/generic/pst-func/Changes index 51c913f08f7..83b92f89549 100644 --- a/Master/texmf-dist/doc/generic/pst-func/Changes +++ b/Master/texmf-dist/doc/generic/pst-func/Changes @@ -1,4 +1,7 @@ ..... pst-func.tex +0.63 2010-01-04 - fixed bug with Bezier definition +0.62 2009-12-01 - fixed bug with \pst@Shift in \psGaussI +0.61 2009-11-30 - fixed bug with \psGaussI 0.60 2009-10-08 - modified \psPrintValue to allow algebraic function mode - fix bug with algebraic=true for all macros with \psplot which need postfix code @@ -68,6 +71,9 @@ ..... pst-func.pro +0.12 2010-01-04 rename Points to BezierPoints to prevent clash with + pstricks.pro +0.11 2009-05-05 cosmetic changes 0.10 2009-01-08 added ChebyshevT and ChebyshevU (first and second kind) 0.09 2008-03-22 added Bernstein code for Bernstein polynomials 0.08 2008-03-21 added BezierCurve code for Bezier curves of up to diff --git a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf Binary files differindex ccedb089716..bb23b30c4f6 100644 --- a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf +++ b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf diff --git a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex index d121a0b1399..5ada7d63722 100644 --- a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex @@ -1,26 +1,25 @@ -%% $Id: pst-func-doc.tex 137 2009-10-08 18:15:14Z herbert $ +%% $Id: pst-func-doc.tex 244 2010-01-04 13:48:01Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false, smallheadings, headexclude,footexclude,oneside]{pst-doc} \usepackage[utf8]{inputenc} \usepackage{pst-func} \let\pstFuncFV\fileversion -\usepackage{pstricks-add} \usepackage{pst-math} +\usepackage{pstricks-add} \renewcommand\bgImage{% \psset{yunit=4cm,xunit=3} \begin{pspicture}(-2,-0.2)(2,1.4) - \psaxes[Dy=0.25]{->}(0,0)(-2,0)(2,1.25) - \uput[-90](6,0){x}\uput[0](0,1){y} + \psaxes[Dy=0.25]{->}(0,0)(-2,0)(2,1.25)[$x$,0][$y$,90] \rput[lb](1,0.75){\textcolor{red}{$\sigma =0.5$}} \rput[lb](1,0.5){\textcolor{blue}{$\sigma =1$}} \rput[lb](-2,0.5){$f(x)=\dfrac{1}{\sigma\sqrt{2\pi}}\,e^{-\dfrac{(x-\mu)^2}{2\sigma{}^2}}$} \psGauss[linecolor=red, linewidth=2pt]{-1.75}{1.75}% - \psGaussI[linewidth=1pt,yunit=0.75]{-2}{2}% + \psGaussI[linewidth=1pt]{-2}{2}% \psGauss[linecolor=cyan, mue=0.5, linewidth=2pt]{-1.75}{1.75}% \psGauss[sigma=1, linecolor=blue, linewidth=2pt]{-1.75}{1.75} \end{pspicture}} -\lstset{pos=t,wide=true,language=PSTricks, +\lstset{language=PSTricks, morekeywords={psGammaDist,psChiIIDist,psTDist,psFDist,psBetaDist,psPlotImpl},basicstyle=\footnotesize\ttfamily} % \def\pshlabel#1{\footnotesize#1} @@ -47,9 +46,6 @@ All should be already part of your local \TeX\ installation. If not, or in case of having older versions, go to \url{http://www.CTAN.org/} and load the newest version. -{\itshape If \LPack{pstricks-add} is loaded together with the package \LPack{pst-func} then the \Lkeyword{InsideArrow} - of the \Lcs{psbezier} macro doesn't work!} - \vfill\noindent Thanks to: \\ Rafal Bartczuk, @@ -64,6 +60,7 @@ Rafal Bartczuk, Lars Kotthoff, Buddy Ledger, Manuel Luque, + Patrice Mégret, Jose-Emilio Vila-Forcen, Timothy Van Zandt, Michael Zedler, @@ -445,7 +442,6 @@ valid for the \Lcs{psPolynomial} macro, except \verb+x0+, which can also be used options can be set in the usual way with \Lcs{psset}. - \bigskip \begin{LTXexample} \psset{yunit=0.5cm,xunit=2cm} @@ -464,6 +460,7 @@ options can be set in the usual way with \Lcs{psset}. \end{LTXexample} %$ + \begin{LTXexample} \psset{yunit=0.5cm,xunit=2cm} \begin{pspicture*}(-3,-5)(3,10) @@ -913,7 +910,7 @@ and is predefined with 5. \rput[lb](1,0.5){\textcolor{blue}{$\sigma =1$}} \rput[lb](-2,0.5){$f(x)=\dfrac{1}{\sigma\sqrt{2\pi}}\,e^{-\dfrac{(x-\mu)^2}{2\sigma{}^2}}$} \psGauss[linecolor=red, linewidth=2pt]{-1.75}{1.75}% - \psGaussI[linewidth=1pt,yunit=0.75]{-2}{2}% + \psGaussI[linewidth=1pt]{-2}{2}% \psGauss[linecolor=cyan, mue=0.5, linewidth=2pt]{-1.75}{1.75}% \psGauss[sigma=1, linecolor=blue, linewidth=2pt]{-1.75}{1.75} \end{pspicture} diff --git a/Master/texmf-dist/dvips/pst-func/pst-func.pro b/Master/texmf-dist/dvips/pst-func/pst-func.pro index f21fa6b8318..1fd52ca119d 100644 --- a/Master/texmf-dist/dvips/pst-func/pst-func.pro +++ b/Master/texmf-dist/dvips/pst-func/pst-func.pro @@ -1,4 +1,4 @@ -%% $Id: pst-func.pro 82 2009-01-23 17:38:22Z herbert $ +%% $Id: pst-func.pro 244 2010-01-04 13:48:01Z herbert $ %% %% This is file `pst-func.pro', %% @@ -16,7 +16,7 @@ %% `pst-func' is a PSTricks package to plot special math functions %% %% -%% version 0.11 / 2009-01-19 Herbert Voss <voss _at_ pstricks.de> +%% version 0.12 / 2010-01-04 Herbert Voss <hvoss _at_ tug.org> % /tx@FuncDict 100 dict def tx@FuncDict begin diff --git a/Master/texmf-dist/source/generic/pst-func/Makefile b/Master/texmf-dist/source/generic/pst-func/Makefile index 0d67fc8c284..295ae61a24e 100644 --- a/Master/texmf-dist/source/generic/pst-func/Makefile +++ b/Master/texmf-dist/source/generic/pst-func/Makefile @@ -59,6 +59,7 @@ tds: # cp -u Changes $(TDS)/dvips/$(PACKAGE)/ cp -u $(PACKAGE).pro $(TDS)/dvips/$(PACKAGE)/ + cp -u $(PACKAGE).pro ~/Links/dvips-local/ # cp -u Changes $(TDS)/source/$(PACKAGE)/ cp -u $(MAIN).tex $(TDS)/source/$(PACKAGE)/ 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 88b322b1c7d..2d9f7397067 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 137 2009-10-08 18:15:14Z herbert $ +%% $Id: pst-func.tex 244 2010-01-04 13:48:01Z herbert $ %% %% This is file `pst-func.tex', %% @@ -6,7 +6,7 @@ %% %% Package `pst-func.tex' %% -%% Herbert Voss <voss@pstricks.de> +%% Herbert Voss <hvoss@tug.org> %% %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN archives @@ -28,9 +28,9 @@ \edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax % interface to the `xkeyval' package \pst@addfams{pst-func} - -\def\fileversion{0.60} -\def\filedate{2009/10/08} +% +\def\fileversion{0.63} +\def\filedate{2010/01/04} \message{`PST-func' v\fileversion, \filedate\space (hv)} % \pstheader{pst-func.pro} @@ -229,14 +229,14 @@ /scx { \pst@number\psxunit mul } def /scy { \pst@number\psyunit mul } def tx@FuncDict begin - /Sigma 1 \psk@sigma div TwoPi sqrt div def + /C 1 \psk@sigma div TwoPi sqrt div def /SFunc {% x on Stack - Euler exch \psk@xShift\space sub dup mul 2 div Sigma dup mul div neg exp Sigma mul + Euler exch \psk@mue\space sub dup mul 2 div \psk@sigma\space dup mul div neg exp C mul } def end a scx 0 moveto \psk@plotpoints 1 sub { - a b \psk@Simpson % a b M on Styack + a b \psk@Simpson % a b M on Stack tx@FuncDict begin Simpson I end % y value on stack scy b scx exch lineto /b b dx add def @@ -731,8 +731,7 @@ % % For polar plots %\define@boolkey[psset]{pst-func}[PstAdd@]{polarplot}[true]{} -%\define@boolkey[psset]{pst-func}[PstAdd@]{algebraic}[true]{} -%\psset[pst-func]{polarplot=false,algebraic=false} +%\psset[pst-func]{polarplot=false} % \define@key[psset]{pst-func}{stepFactor}[0.67]{\pst@checknum{#1}\psk@stepFactor } \psset[pst-func]{stepFactor=0.67} @@ -821,8 +820,8 @@ \endgroup% \ignorespaces% } -\def\tx@BezierShowPoints{ tx@Dict begin /Points ED BezierShowPoints end } -\def\tx@BezierCurve{ tx@FuncDict begin BezierCurve Points end } +\def\txFunc@BezierCurve{ tx@FuncDict begin BezierCurve Points end } +\def\txFunc@BezierShowPoints{ tx@Dict begin /Points ED BezierShowPoints end } \def\pst@BezierType{2 } % the default % \def\psBezier#1{% % allowed order is 1 ... 9 @@ -838,8 +837,8 @@ \addto@pscode{% \psk@plotpoints % step for Bezier T=0,0+epsilon,0+i*epsilon,...,1 \pst@BezierType % type of the Bezier curve 2,3,4,... - \tx@BezierCurve - \ifshowpoints \tx@BezierShowPoints \else pop \fi + \txFunc@BezierCurve + \ifshowpoints \txFunc@BezierShowPoints \else pop \fi }% \end@OpenObj} % diff --git a/Master/texmf-dist/tex/latex/pst-func/pst-func.sty b/Master/texmf-dist/tex/latex/pst-func/pst-func.sty index 54456cfb42b..3dc8dc66d6e 100644 --- a/Master/texmf-dist/tex/latex/pst-func/pst-func.sty +++ b/Master/texmf-dist/tex/latex/pst-func/pst-func.sty @@ -6,7 +6,7 @@ [\filedate\space v\fileversion\space `PST-func' (hv)] \IfFileExists{pst-func.pro}{% \ProvidesFile{pst-func.pro} - [2008/03/22 v. 0.09, PostScript prologue file (hv)] + [2009/12/29 v. 0.12, PostScript prologue file (hv)] \@addtofilelist{pst-func.pro}}{}% \endinput -%% $Id: pst-func.sty 55 2008-11-14 12:01:12Z herbert $ +%% $Id: pst-func.sty 227 2009-12-29 18:38:27Z herbert $ |