diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-26 23:17:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-26 23:17:37 +0000 |
commit | 0d8ea48d874411037fc2ca0390d1e4d79ca37faf (patch) | |
tree | 6e8f733651135ab6db6a914239526c29828bb4ad /Master/texmf-dist/tex/generic | |
parent | 3a0c110bdd5eb4e48c1849f73e895836b0ab3a04 (diff) |
plst-plot 1.26 (26jan11)
git-svn-id: svn://tug.org/texlive/trunk@21177 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex b/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex index 0b97daebec3..6910192a1bc 100644 --- a/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex +++ b/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex @@ -1,4 +1,4 @@ -% $Id: pst-plot.tex 447 2011-01-19 15:23:33Z herbert $ +% $Id: pst-plot.tex 449 2011-01-25 17:43:06Z herbert $ %% BEGIN pst-plot.tex %% %% plotting functions and data with PSTricks. @@ -21,7 +21,7 @@ \ifx\MultidoLoaded\endinput\else \input multido.tex \fi % \def\fileversion{1.26} -\def\filedate{2011/01/19} +\def\filedate{2011/01/24} \message{ v\fileversion, \filedate\space (tvz,hv)} % \edef\TheAtCode{\the\catcode`\@} @@ -1334,6 +1334,16 @@ D\space##1% \pst@number\pst@yticksizeB \pst@number\pslabelsep add \pst@number\psxunit div neg #1){\psvlabel{#2}}}\ignorespaces} % +\def\psCoordinates{\pst@object{psCoordinates}} +\def\psCoordinates@i(#1){% + \pst@killglue% + \begin@OpenObj + \SpecialCoor% + \psline(#1|0,0)(#1)\psline(#1)(0,0|#1)\psdot(#1)% + \end@OpenObj% + \ignorespaces% +} +% \def\stripDecimals#1{\expandafter\@stripDecimals#1..\@nil} %% #1 integer %% #2 decimals @@ -2227,6 +2237,37 @@ D\space##1% \expandafter\get@Label#2,\@nil \fi% } +% +\def\psFixpoint{\pst@object{psFixpoint}} +\def\psFixpoint@i#1#2#3{% #1: xStart #2: f(x) #3: number of iterations + \pst@killglue% + \begingroup% + \use@par% + \@nameuse{beginplot@\psplotstyle}% + \addto@pscode{ + \psplot@init + /x #1 def + /F@pstplot \ifPst@algebraic (#2) tx@AlgToPs begin AlgToPs end cvx + \else { #2 } \fi def + /xy { x \pst@number\psxunit mul F@pstplot dup /x ED \pst@number\psyunit mul } def + }% + \gdef\psplot@init{}% + \@pstfalse% + \@nameuse{testqp@\psplotstyle}% + \addto@pscode{ + mark + x \pst@number\psxunit mul 0 + /n 2 def + #3 { + xy + dup dup + /n n 4 add def + } repeat + }% + \@nameuse{endplot@\psplotstyle}% + \endgroup% + \ignorespaces} +% \def\psResetPlotValues{% \psset{method={}}% }% |